Ubuntu 8.04 LTS软件源设置新手学习攻略


其实在Ubuntu 8.04里和以前的ubuntu发行版中设置软件源的方法是一样的.Ubuntu 8.04 LTS (Hardy HUeron)正式版即将发行了,当”小白鼠”的朋友,越来越多,问到这个问题的人也不少,今就专门写一篇在Ubuntu 8.04 LTS (Hardy Heron) 里修改源的方法,之前本站的原创团队成员幻星之孤独曾写过一篇叫《细说 Ubuntu Linux 软件源》 的文章,写得很不错,十分的详细.今天我简单得说一下,不清楚具体方法的朋友可以去参考一下那篇文章.

备份软件源:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

编辑软件源:
sudo gedit /etc/apt/sources.list

从下面列表中选择合适的源(注意:一定要选和你的系统一致的版本 8.04、7.10、 7.04、6.10、 6.06),替换掉文件中内容,保存编辑好的文件

更新软件源:
sudo apt-get update

推荐软件源:
不同的网络状况连接以下源的速度不同, 所以cn99并不一定是最快的源, 建议在添加前手动验证以下源的连接速度(ping下就行),比如说北京网通ADSL用户连接cn99就非常慢,而ftp.sjtu.edu.cn是相对较快的源,选择最快的源可以节省大批下载时间

Ubuntu.cn99.com更新服务器(江苏省常州市电信,推荐电信用户使用):

deb http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse

台湾大学更新服务器(推荐网通用户使用,强烈推荐此源,比较完整):

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse

  • 1
  • 2
  • 下一页

相关内容