昨天完全弃用了使用大半年的Win7旗靓版操作系统,转到Ubuntu的怀抱。装好ubuntu后不可避免要apt一些软件包,还有system update等等,就发现下载的速度比较慢,所以就修改了源,下面是我现在在用感觉速度最快的一个源,下载速度主要在190kb/s ~ 500kb/s,感觉非常不错,现留着存个档,以后可能还用得着。
# 网易 Ubuntu 11.04 源 deb http: // mirrors. 163 .com / ubuntu / natty main universe restricted multiverse deb - src http: // mirrors. 163 .com / ubuntu / natty main universe restricted multiverse deb http: // mirrors. 163 .com / ubuntu / natty - security universe main multiverse restricted deb - src http: // mirrors. 163 .com / ubuntu / natty - security universe main multiverse restricted deb http: // mirrors. 163 .com / ubuntu / natty - updates universe main multiverse restricted deb http: // mirrors. 163 .com / ubuntu / natty - proposed universe main multiverse restricted deb - src http: // mirrors. 163 .com / ubuntu / natty - proposed universe main multiverse restricted deb http: // mirrors. 163 .com / ubuntu / natty - backports universe main multiverse restricted deb - src http: // mirrors. 163 .com / ubuntu / natty - backports universe main multiverse restricted deb - src http: // mirrors. 163 .com / ubuntu / natty - updates universe main multiverse restricted
将以上代码完全copy至 /etc/apt/sources.list 覆盖保存。tip:更新源头只需要一个最快的就行了,不需要把网上所有的源都保存在里面。
然后更新源:
sudo apt - get update
这下,在Linux下apt 软件的速度就快多拉!
转自http://www.cnblogs.com/ojumpin/archive/2011/06/22/2086692.html