1.找地方
$sudo gedti /etc/apt/sources.list 编辑sourceslist文件
2.选择源
要选一个自己上网速度最快的源使用ping命令
$sudo ping (地址)
其中地址是你要填的源的地址如果你要用国内电信的源 如下:
# 国内电信源
deb http://mirror.lupaworld.com/ubuntu/archive/ jaunty main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ jaunty-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ jaunty-backports main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ jaunty-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ jaunty-proposed main multiverse restricted universe deb-src http://mirror.lupaworld.com/ubuntu/archive/ jaunty main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/archive/ jaunty-updates main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu/archive/ jaunty-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu/archive/ jaunty-security main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu/archive/ jaunty-proposed main restricted universe multiverse
我们只要在终端输入:
$sudo ping mirror.lupaworld.com/ubuntu/archive/
再看看介绍时间就可以时间越小越好
3.换源把选好的源copy到刚刚打开的sourse。list文件中覆盖原来的内容就可以了》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
ubuntu 的软件源和版本是对应的
所以选择源的时候要注意
到网上去搜索相应的源可以搜到很多
自己试试吧。