Ubuntu17.04中如何更换国内源-创新互联
这篇文章将为大家详细讲解有关Ubuntu17.04中如何更换国内源,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
安义网站建设公司创新互联,安义网站设计制作,有大型网站制作公司丰富经验。已为安义1000多家提供企业网站建设服务。企业网站搭建\外贸网站建设要多少钱,请找那个售后服务好的安义做网站的公司定做!### 修改源命令:
sudo vi /etc/apt/source.list
### 把source.list内容替换成下面其中一个源
##阿里云 deb http://mirrors.aliyun.com/ubuntu/ zesty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ zesty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ zesty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ zesty-backports main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ zesty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ zesty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ zesty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ zesty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ zesty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ zesty-proposed main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ zesty partner deb http://extras.ubuntu.com/ubuntu/ zesty main
##Ubuntu官方中国 deb http://cn.archive.ubuntu.com/ubuntu/ zesty main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu/ zesty-security main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu/ zesty-proposed main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-security main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-proposed main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ zesty partner deb http://extras.ubuntu.com/ubuntu/ zesty main
##网易源 deb http://mirrors.163.com/ubuntu/ zesty main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ zesty-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ zesty-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ zesty-backports main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ zesty-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ zesty main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ zesty-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ zesty-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ zesty-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ zesty-proposed main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ zesty partner deb http://extras.ubuntu.com/ubuntu/ zesty main
第二种方法直接在界面打开:
再进入software&updates:
选择自己所需要的源,
过程完成,说明更新完成。
关于“Ubuntu17.04中如何更换国内源”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。
分享题目:Ubuntu17.04中如何更换国内源-创新互联
URL地址:http://scgulin.cn/article/dseoog.html