ubuntu 源

刚刚看到一篇<隐藏在网易的开源软件镜象站点>,想到用网易的源来升级Ubuntu会不会速度快一点?

先是从“系统-系统管理-软件源-第三方软件“里一行一行地添加,但实在太麻烦了,还是从控制台下输入”sudo gedit /etc/apt/sources.list“直接编辑apt的Sources.list更快。在文件最后添加以下几行:

deb http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse

这样一来就一次性地把所需的命令全加入了。记得保存退出。

试了一下,发现速度明显比原来要快了好多 :D,我在虚机里装的Ubuntu,用网易的源升级时速度基本上能保持在34K左右,远比以前的十几K要快得多。

另外,Felix分析,163的源缺少部分软件包,不过,应该已足够用的了。


  更新命令,其实系统自己也会自动更新。
        sudo apt-get update
        sudo apt-get dist-upgrade

你可能感兴趣的:(ubuntu 源)