标签:
新手在使用Ubuntu的时候可能在升级时感觉很慢,如果这样他就需要换一个适合自己的源了。
下面我就简单的说一下怎样换源。
在终端里输入 sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup (表示备份列表)
再输入 sudo gedit /etc/apt/sources.list
你就能看到源列表了,把你看到的都删除然后粘贴上适合你的源
源,自己找一个适合自己的
deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ raring partner deb http://extras.ubuntu.com/ubuntu/ raring main
deb http://ubuntu.srt.cn/ubuntu/ raring main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ raring-security main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ raring-proposed main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ raring main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ raring-backports main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ raring main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ raring main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu raring main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu raring-security main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu raring-updates main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu raring-backports main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu raring-proposed main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu raring main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu raring-security main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu raring-updates main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu raring-backports main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu raring-proposed main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu raring main restricted universe multiverse deb http://centos.bitcomm.cn/ubuntu raring-security main restricted universe multiverse deb http://centos.bitcomm.cn/ubuntu raring-updates main restricted universe multiverse deb http://centos.bitcomm.cn/ubuntu raring-backports main restricted universe multiverse deb http://centos.bitcomm.cn/ubuntu raring-proposed main restricted universe multiverse deb-src http://centos.bitcomm.cn/ubuntu raring main restricted universe multiverse deb-src http://centos.bitcomm.cn/ubuntu raring-security main restricted universe multiverse deb-src http://centos.bitcomm.cn/ubuntu raring-updates main restricted universe multiverse deb-src http://centos.bitcomm.cn/ubuntu raring-backports main restricted universe multiverse deb-src http://centos.bitcomm.cn/ubuntu raring-proposed main restricted universe multiverse
以下为有教育网接入的服务器(推荐教育网用户使用,部分非教育网用户也有可观的速度。教育网用户请优先使用IPv6地址。
deb http://debian.ustc.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://mirrors6.ustc.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://mirrors6.ustc.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://mirrors6.ustc.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb http://mirrors6.ustc.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://mirrors6.ustc.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://mirrors6.ustc.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://mirrors6.ustc.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://mirrors6.ustc.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://mirrors6.ustc.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://mirrors.6.tuna.tsinghua.edu.cn//ubuntu/ raring-security main multiverse restricted universe deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://cugbteam.org/ubuntu/ raring main restricted universe multiverse deb http://cugbteam.org/ubuntu/ raring-security main restricted universe multiverse debhttp://cugbteam.org/ubuntu/ raring-updates main restricted universe multiverse deb http://cugbteam.org/ubuntu/ raring-backports main restricted universe multiverse deb http://cugbteam.org/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://cugbteam.org/ubuntu/ raring main restricted universe multiverse deb-src http://cugbteam.org/ubuntu/ raring-security main restricted universe multiverse deb-src http://cugbteam.org/ubuntu/ raring-updates main restricted universe multiverse deb-src http://cugbteam.org/ubuntu/ raring-backports main restricted universe multiverse deb-src http://cugbteam.org/ubuntu/ raring-proposed main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://mirror6.bjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://mirror6.bjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://mirror6.bjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://mirror6.bjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb http://mirror6.bjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://mirror6.bjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://mirror6.bjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://mirror6.bjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://mirror6.bjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://mirror6.bjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://mirror.bit.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirror.bit.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirror.bit.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://mirror.bit.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb http://mirror.bit.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirror.bit.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirror.bit.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirror.bit.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirror.bit.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirror.bit.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
deb http://mirror.bit6.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirror.bit6.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirror.bit6.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://mirror.bit6.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb http://mirror.bit6.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirror.bit6.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirror.bit6.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirror.bit6.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirror.bit6.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirror.bit6.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
deb http://mirror.tju.edu.cn/ubuntu/ oneiric main restricted universe multiverse deb http://mirror.tju.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse deb http://mirror.tju.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse deb http://mirror.tju.edu.cn/ubuntu/ oneiric-backports main restricted universe multiverse deb http://mirror.tju.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse deb-src http://mirror.tju.edu.cn/ubuntu/ oneiric main restricted universe multiverse deb-src http://mirror.tju.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse deb-src http://mirror.tju.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse deb-src http://mirror.tju.edu.cn/ubuntu/ oneiric-backports main restricted universe multiverse deb-src http://mirror.tju.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse
deb http://ftp.neu.edu.cn/mirrors/ubuntu/ raring main multiverse restricted universe deb http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-backports main multiverse restricted universe deb http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-proposed main multiverse restricted universe deb http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-security main multiverse restricted universe deb http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-updates main multiverse restricted universe deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ raring main multiverse restricted universe deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-backports main multiverse restricted universe deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-security main multiverse restricted universe deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-updates main multiverse restricted universe
deb http://ftp.neu6.edu.cn/mirrors/ raring main multiverse restricted universe deb http://ftp.neu6.edu.cn/mirrors/ raring-backports main multiverse restricted universe deb http://ftp.neu6.edu.cn/mirrors/ raring-proposed main multiverse restricted universe deb http://ftp.neu6.edu.cn/mirrors/ raring-security main multiverse restricted universe deb http://ftp.neu6.edu.cn/mirrors/ raring-updates main multiverse restricted universe deb-src http://ftp.neu6.edu.cn/mirrors/ raring main multiverse restricted universe deb-src http://ftp.neu6.edu.cn/mirrors/ raring-backports main multiverse restricted universe deb-src http://ftp.neu6.edu.cn/mirrors/ raring-proposed main multiverse restricted universe deb-src http://ftp.neu6.edu.cn/mirrors/ raring-security main multiverse restricted universe deb-src http://ftp.neu6.edu.cn/mirrors/ raring-updates main multiverse restricted universe
deb http://run.hit.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://run.hit.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://run.hit.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://run.hit.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb http://run.hit.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://run.hit.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://run.hit.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://run.hit.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://run.hit.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://run.hit.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
复制进去,保存退出
在终端输入 sudo apt-get update 更新列表
这样,换源完成。
标签:
原文地址:http://blog.csdn.net/u014723529/article/details/42386551