ubuntu慢?如何给 ubuntu 换源 提速
新手在使用Ubuntu的时候可能在升级时感觉很慢,如果这样他就需要换一个适合自己的源了。
下面我就简单的说一下怎样换源。
在终端里输入 sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup (表示备份列表)
再输入 sudo gedit /etc/apt/sources.list
你就能看到源列表了,把你看到的都删除然后粘贴上适合你的源
源,自己找一个适合自己的
Raring(13.04)版本
- Ubuntu 官方更新服务器(欧洲,此为官方源,国内较慢,但无同步延迟问题,电信、移动/铁通、联通等公网用户可以使用):
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
-
- Ubuntu官方提供的其他软件(第三方闭源软件等):
deb http://archive.canonical.com/ubuntu/ raring partner deb http://extras.ubuntu.com/ubuntu/ raring main
- 骨头兄亲自搭建并维护的 Ubuntu 源(该源位于浙江杭州百兆共享宽带的电信机房),包含 Deepin 等镜像:
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
- 网易163更新服务器(广东广州电信/联通千兆双线接入),包含其他开源镜像:
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
- LupaWorld 更新服务器(浙江杭州电信/联通双线服务器),包含其他开源镜像:
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
- 常州贝特康姆软件技术有限公司 更新服务器(江苏常州电信服务器),包含其他开源镜像。
-
- ( CN99域名 系 “常州市亚科技术有限公司” 所注册,但此公司与常州贝特康姆的法人代表和营业地址相同。所以本镜像实际即原 CN99。但现在CN99镜像的域名已改为跳转至网易镜像):
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地址。
- 中国科学技术大学更新服务器(位于合肥,千兆教育网接入,百兆电信/联通线路智能路由),由中科大 Linux 用户协会和中科大学网络信息中心维护,包含其他开源镜像,Deepin 官方服务器 实际亦指向此处:
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
-
- IPv6-Only 地址
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
-
- IPv4-Only 地址
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
-
- IPv6-Only 地址
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
- 中国地质大学开源镜像站,由中国地质大学 Linux 爱好者维护。包含其他开源镜像, (校外限 IPv6 访问):
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
- 北京交通大学更新服务器(教育网/电信百兆接入),由北京交通大学信息中心赞助,包含其他开源镜像。
-
- (域名中的 bjtu 可以替换为 njtu ,即北交旧名“北方交通大学”对应域名) :
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
-
- IPv6-Only 地址
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
-
- IPv6-Only 地址
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
- 天津大学更新服务器,由天津大学信息与网络协会和天津大学自由软件联盟维护,包含其他开源镜像 (校外限 IPv6 访问)
-
- (域名可以替换为 jx.tju.zyrj.org 或 jx6.tju.zyrj.org)
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
-
- IPv6-Only 地址
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 更新列表
这样,换源完成。
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。