!
也想出现在这里? 联系我们
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中
当前位置:首页>教程文档>linux运维>Ubuntu修改apt更新源为腾讯源方法

Ubuntu修改apt更新源为腾讯源方法

修改教程:

1.编辑/etc/apt/sources.list

vi /etc/apt/sources.list

按下字母i键,进入编辑模式。删除全部内容,将下列准备的更新源内容粘贴进去,即可保存退出。

保存退出的命令是按Esc然后输入:!wq(冒号也要输入)

腾讯源:

deb http://mirrors.tencentyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.tencentyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.tencentyun.com/ubuntu/ bionic-updates main restricted universe multiverse
#deb http://mirrors.tencentyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
#deb http://mirrors.tencentyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.tencentyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.tencentyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.tencentyun.com/ubuntu/ bionic-updates main restricted universe multiverse
#deb-src http://mirrors.tencentyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
#deb-src http://mirrors.tencentyun.com/ubuntu/ bionic-backports main restricted universe multiverse

如图:

Ubuntu修改apt更新源为腾讯源方法

执行软件源更新:

sudo apt update
sudo apt upgrade
重要声明

本网站的文章部分内容可能来源于网络,如有侵犯你的权益请联系邮箱:[email protected] 站内资源为网友个人学习或测试研究使用,未经原版权作者许可,禁止用于任何商业途径!请在下载24小时内删除!本站资源大多存储在云盘,如发现链接失效请反馈,我们会及时更新。


       

如果遇到积分购买才可查阅的文章,建议升级会员或者成为认证用户。全站95%资源免费下载”。

给TA打赏
共{{data.count}}人
人已打赏
linux运维

Linux 端口排查是否被占用的脚本

2022-12-21 2:06:51

H5源码

【源码分享】html5全屏圆形导航图片幻灯片特效

2022-3-18 15:20:23

8 条回复 A文章作者 M管理员
  1. 小七喜🐻
  2. 乃叔不奶

    厉害啊!

  3. 凌乱

    楼主牛啊

  4. alim0996

    支持谢谢分享

  5. W

    感谢感谢

  6. 芒果

    厉害厉害

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索
扫码添加本站【微信群】加入我们的圈子

获取更多游戏搭建教学 请扫码添加右侧微信群

联系我们