概述
/etc/apt/sources.list 是源列表
在更改之前先备份一下
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
然后修改
sudo gedit /etc/apt/sources.list
将新源输入文件中就可以了
在网易升级网易开源镜像服务器后,目前提供电信和联通双线接入。 电信镜像子域名为 tel.mirrors.163.com ,联通镜像子域名为 uni.mirrors.163.com 。据网易官方介绍,其 服务器会自动根据用户的网络接入来提供最佳的线路。不过,在有些时候没有能够正常自动选择线路接入。我们建议用户在设置软件源的时候最好是根据自己的网络还选相应的源。以 Ubuntu 10.04 为例:
以下为网易提供的 Ubuntu 10.04 联通(网通)源
deb http://uni.mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
deb http://uni.mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
deb http://uni.mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
deb http://uni.mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://uni.mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://uni.mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://uni.mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
deb-src http://uni.mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://uni.mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://uni.mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
#----------------------------------------------------------------------------------------------------------------------#
以下为网易提供的 Ubuntu 10.04 电信源
deb http://tel.mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
deb http://tel.mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
deb http://tel.mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
deb http://tel.mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://tel.mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://tel.mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://tel.mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
deb-src http://tel.mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://tel.mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://tel.mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
#----------------------------------------------------------------------------------------------------------------------#
最后
以上就是包容棒棒糖为你收集整理的ubuntu 网易源 最新源的全部内容,希望文章能够帮你解决ubuntu 网易源 最新源所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复