潜龙勿用,见龙在田
全部博文(540)
分类: LINUX
2009-05-12 19:56:03
默认的中国源速度非常不错,为了保证源内软件的齐全,建议电信用户添加cn99或台湾大学的源,建议网通用户添加UBNTU官方或台湾大学的源。
•
在终端输入并运行
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份当前的源列表,以便日後需要时恢复)
sudo gedit /etc/apt/sources.list (修改sources.list文件中源的列表)
弹出文本后在sources.list文件中尾部添加下列内容:
ubuntu8.10的163源为:
deb intrepid main restricted universe multiverse
deb intrepid-security main restricted universe multiverse
deb intrepid-updates main restricted universe multiverse
deb intrepid-proposed main restricted universe multiverse
deb intrepid-backports main restricted universe multiverse
deb-src intrepid main restricted universe multiverse
deb-src intrepid-security main restricted universe multiverse
deb-src intrepid-updates main restricted universe multiverse
deb-src intrepid-proposed main restricted universe multiverse
deb-src intrepid-backports main restricted universe multiverse
CN99
deb http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
ubuntu 8.04的163源为:
deb hardy main restricted universe multiverse
deb hardy-security main restricted universe multiverse
deb hardy-updates main restricted universe multiverse
deb hardy-proposed main restricted universe multiverse
deb hardy-backports main restricted universe multiverse
deb-src hardy main restricted universe multiverse
deb-src hardy-security main restricted universe multiverse
deb-src hardy-updates main restricted universe multiverse
deb-src hardy-proposed main restricted universe multiverse
deb-src hardy-backports main restricted universe multiverse
#Mirror.lupaworld.com 源更新服务器(浙江省杭州市双线服务器,网通同电信都可以用,亚洲地区官方更新服务器):
deb gutsy main restricted universe multiverse
deb gutsy-security main restricted universe multiverse
deb gutsy-updates main restricted universe multiverse
deb gutsy-backports main restricted universe multiverse
deb-src gutsy main restricted universe multiverse
deb-src gutsy-security main restricted universe multiverse
deb-src gutsy-updates main restricted universe multiverse
deb-src gutsy-backports main restricted universe multiverse
Ubuntu 官方源 推荐北方网通用户添加
deb gutsy main restricted universe multiverse
deb gutsy-security main restricted universe multiverse
deb gutsy-updates main restricted universe multiverse
deb gutsy-proposed main restricted universe multiverse
deb gutsy-backports main restricted universe multiverse
deb-src gutsy main restricted universe multiverse
deb-src gutsy-security main restricted universe multiverse
deb-src gutsy-updates main restricted universe multiverse
deb-src gutsy-proposed main restricted universe multiverse
deb-src gutsy-backports main restricted universe multiverse
台湾的官方源速度也相当不错,有时甚至快于内地的:
deb gutsy main restricted universe multiverse
deb gutsy-security main restricted universe multiverse
deb gutsy-updates main restricted universe multiverse
deb gutsy-backports main restricted universe multiverse
deb gutsy-proposed main restricted universe multiverse
deb-src gutsy main restricted universe multiverse
deb-src gutsy-security main restricted universe multiverse
deb-src gutsy-updates main restricted universe multiverse
deb-src gutsy-backports main restricted universe multiverse
deb-src gutsy-proposed main restricted universe multiverse
再加个中国电信源科技大学的源(能用速度还不 错)
deb jaunty main restricted universe multiverse
deb jaunty-backports restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
#传说中的北京交大 速度 2M/s
deb jaunty main restricted universe multiverse
deb jaunty-backports restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
#传说中的上海交通大学,最热门的源之一
deb jaunty main multiverse restricted universe
deb jaunty-backports main multiverse restricted universe
deb jaunty-proposed main multiverse restricted universe
deb jaunty-security main multiverse restricted universe
deb jaunty-updates main multiverse restricted universe
deb jaunty main multiverse restricted universe
deb-src jaunty main multiverse restricted universe
deb-src jaunty-backports main multiverse restricted universe
deb-src jaunty-proposed main multiverse restricted universe
deb-src jaunty-security main multiverse restricted universe
deb-src jaunty-updates main multiverse restricted universe
#传说中的清华大学ubuntu源 300k/s
deb jaunty main restricted universe multiverse
deb jaunty-backports restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
#传说中的兰州大学 260k/s
deb jaunty main restricted universe multiverse
deb jaunty-backports restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
#传说中的台湾大学 中国电信adsl 150k/s
deb jaunty main restricted universe multiverse
deb jaunty-backports restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
电信网:
deb jaunty main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
deb jaunty-backports main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb jaunty-proposed main multiverse restricted universe
deb-src jaunty-proposed main restricted universe multiverse
防止非官方源中软件包不全的问题,请在sources.list文件中尾部添加下面这个官方源。
deb feisty main restricted universe multiverse
如果没有这个源,下面安装某些软件的时候会提示找不到,比如w32codecs
然后 保存编辑好的文件,执行以下命令更新。
sudo apt-get update #这一步是更新你的源列表,换源後必须执行
(如果更新速度非常慢请更换源 sudo gedit /etc/apt/sources.list )
sudo apt-get dist-upgrade #这一步是更新软件
台湾源的测试可能会慢一些,耐心等一下,换源后一般下载速度都有几十K,上百K也很正常。~要是总是用几K的外源,Ubuntu也不可能在PRC混了 ~