Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1719524
  • 博文数量: 362
  • 博客积分: 10587
  • 博客等级: 上将
  • 技术积分: 4098
  • 用 户 组: 普通用户
  • 注册时间: 2009-09-10 18:15
文章分类

全部博文(362)

文章存档

2014年(1)

2013年(58)

2011年(115)

2010年(112)

2009年(76)

分类: LINUX

2009-10-29 15:41:11

默认的中国源速度非常不错,为了保证源内软件的齐全,建议电信用户添加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 intrepid main restricted universe multiverse
deb intrepid-backports main restricted universe multiverse
deb intrepid-proposed main restricted universe multiverse
deb intrepid-security main restricted universe multiverse
deb hardy-updates main restricted universe multiverse
deb-src intrepid main restricted universe multiverse
deb-src intrepid-backports main restricted universe multiverse
deb-src intrepid-proposed main restricted universe multiverse
deb-src intrepid-security main restricted universe multiverse
deb-src intrepid-updates 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混了~

阅读(738) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~