Ubuntu 18.04 apt 修改腾讯源

图片[1]-Ubuntu 18.04 apt   修改腾讯源

一、编辑 /etc/apt/sources.list

替换至/etc/apt/sources.list文件中。

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

三、刷新软件源信息:

sudo apt update

四、更新软件

sudo apt upgrade


扫码

点击加入本站QQ交流群

© 版权声明
THE END
喜欢就支持一下吧
点赞17赞赏 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容