【linux开发】apt源设置
不同的网络状况连接以下源的速度不同, 建议在添加前手动验证以下源的连接速度(ping下就行),选择最快的源可以节省大批下载时间。
- 首先备份源列表:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
- 而后用gedit或其他编辑器打开:
sudo gedit /etc/apt/sources.list
sudo kate /etc/apt/sources.list
sudo mousepad /etc/apt/sources.list
sudo leafpad /etc/apt/sources.list (13.04版)
- 从下面列表中选择合适的源,替换掉文件中所有的内容,保存编辑好的文件:
- 注意:一定要选对版本
- 然后,刷新列表:
sudo apt-get update
- 注意:一定要执行刷新
源列表
Trusty(14.04)版本
Ubuntu 官方更新服务器(欧洲,此为官方源,国内较慢,但无同步延迟问题,电信、移动/铁通、联通等公网用户可以使用):
deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
Ubuntu官方提供的其他软件(第三方闭源软件等):
deb http://archive.canonical.com/ubuntu/ trusty partner
deb http://extras.ubuntu.com/ubuntu/ trusty main
骨头兄亲自搭建并维护的 Ubuntu 源(该源位于浙江杭州百兆共享宽带的电信机房),包含 Deepin 等镜像:
deb http://ubuntu.srt.cn/ubuntu/ trusty main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ trusty-backports main restricted universe multiverse
网易163更新服务器(广东广州电信/联通千兆双线接入),包含其他开源镜像:
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
搜狐更新服务器(山东联通千兆接入,官方中国大陆地区镜像跳转至此) ,包含其他开源镜像:
deb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
LupaWorld 更新服务器(浙江杭州电信/联通双线服务器),包含其他开源镜像:
deb http://mirror.lupaworld.com/ubuntu trusty main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu trusty-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu trusty-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu trusty-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu trusty-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu trusty main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu trusty-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu trusty-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu trusty-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu trusty-proposed main restricted universe multiverse
常州贝特康姆软件技术有限公司 更新服务器(江苏常州电信服务器),包含其他开源镜像。
( CN99域名 系 “常州市亚科技术有限公司” 所注册,但此公司与常州贝特康姆的法人代表和营业地址相同。所以本镜像实际即原 CN99。但现在 CN99镜像的域名已改为跳转至网易镜像):
deb http://centos.bitcomm.cn/ubuntu trusty main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu trusty-security main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu trusty-updates main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu trusty-backports main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu trusty-proposed main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu trusty main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu trusty-security main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu trusty-updates main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu trusty-backports main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu trusty-proposed main restricted universe multiverse
以下为有教育网接入的服务器(推荐教育网用户使用,部分非教育网用户也有可观的速度。教育网用户请优先使用IPv6地址。
中国科学技术大学更新服务器(位于合肥,千兆教育网接入,百兆电信/联通线路智能路由),由中科大Linux 用户协会和中科大学网络信息中心维护,包含其他开源镜像,Deepin 官方服务器 实际亦指向此处:
deb http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
IPv6-Only 地址
deb http://mirrors6.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://mirrors6.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
清华大学更新服务器,(教育网核心节点百兆接入,已计划提高到千兆)由清华大学学生网管会维护。包含其他开源镜像:
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
IPv4-Only 地址
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
IPv6-Only 地址
deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://mirrors.6.tuna.tsinghua.edu.cn//ubuntu/ trusty-security main multiverse restricted universe
deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
北京交通大学更新服务器(教育网/电信百兆接入),由北京交通大学信息中心赞助,包含其他开源镜像。
(域名中的 bjtu 可以替换为 njtu ,即北交旧名“北方交通大学”对应域名) :
deb http://mirror.bjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
IPv6-Only 地址
deb http://mirror6.bjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://mirror6.bjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://mirror6.bjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://mirror6.bjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb http://mirror6.bjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://mirror6.bjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://mirror6.bjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://mirror6.bjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://mirror6.bjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://mirror6.bjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
北京理工大学更新服务器(仅教育网可以访问),包含其他开源镜像:
deb http://mirror.bit.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
IPv6-Only 地址
deb http://mirror.bit6.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirror.bit6.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirror.bit6.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirror.bit6.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirror.bit6.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirror.bit6.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirror.bit6.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirror.bit6.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirror.bit6.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirror.bit6.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
天津大学更新服务器,由天津大学信息与网络协会和天津大学自由软件联盟维护,包含其他开源镜像 (校外限 IPv6 访问)
(域名可以替换为 jx.tju.zyrj.org 或 jx6.tju.zyrj.org)
deb http://mirror.tju.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirror.tju.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirror.tju.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirror.tju.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirror.tju.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirror.tju.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirror.tju.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirror.tju.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirror.tju.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirror.tju.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
青岛大学更新服务器(教育网/山东青岛移动专线双线服务器),由 OSQDU维护,位于青岛大学。包含开源镜像和Opera、马克思主义文库等其他镜像。:
deb http://mirror.qdu.edu.cn/ubuntu trusty main restricted universe multiverse
deb http://mirror.qdu.edu.cn/ubuntu trusty-security main restricted universe multiverse
deb http://mirror.qdu.edu.cn/ubuntu trusty-updates main restricted universe multiverse
deb http://mirror.qdu.edu.cn/ubuntu trusty-backports main restricted universe multiverse
deb http://mirror.qdu.edu.cn/ubuntu trusty-proposed main restricted universe multiverse
deb-src http://mirror.qdu.edu.cn/ubuntu trusty main restricted universe multiverse
deb-src http://mirror.qdu.edu.cn/ubuntu trusty-security main restricted universe multiverse
deb-src http://mirror.qdu.edu.cn/ubuntu trusty-updates main restricted universe multiverse
deb-src http://mirror.qdu.edu.cn/ubuntu trusty-backports main restricted universe multiverse
deb-src http://mirror.qdu.edu.cn/ubuntu trusty-proposed main restricted universe multiverse
东北大学更新服务器,包含其他开源镜像:
deb http://ftp.neu.edu.cn/mirrors/ubuntu/ trusty main multiverse restricted universe
deb http://ftp.neu.edu.cn/mirrors/ubuntu/ trusty-backports main multiverse restricted universe
deb http://ftp.neu.edu.cn/mirrors/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://ftp.neu.edu.cn/mirrors/ubuntu/ trusty-security main multiverse restricted universe
deb http://ftp.neu.edu.cn/mirrors/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ trusty main multiverse restricted universe
deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ trusty-updates main multiverse restricted universe
IPv6-Only 地址
deb http://ftp.neu6.edu.cn/mirrors/ trusty main multiverse restricted universe
deb http://ftp.neu6.edu.cn/mirrors/ trusty-backports main multiverse restricted universe
deb http://ftp.neu6.edu.cn/mirrors/ trusty-proposed main multiverse restricted universe
deb http://ftp.neu6.edu.cn/mirrors/ trusty-security main multiverse restricted universe
deb http://ftp.neu6.edu.cn/mirrors/ trusty-updates main multiverse restricted universe
deb-src http://ftp.neu6.edu.cn/mirrors/ trusty main multiverse restricted universe
deb-src http://ftp.neu6.edu.cn/mirrors/ trusty-backports main multiverse restricted universe
deb-src http://ftp.neu6.edu.cn/mirrors/ trusty-proposed main multiverse restricted universe
deb-src http://ftp.neu6.edu.cn/mirrors/ trusty-security main multiverse restricted universe
deb-src http://ftp.neu6.edu.cn/mirrors/ trusty-updates main multiverse restricted universe
哈尔滨工业大学更新服务器,包含其他开源镜像:
deb http://run.hit.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://run.hit.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://run.hit.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://run.hit.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://run.hit.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://run.hit.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://run.hit.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://run.hit.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://run.hit.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://run.hit.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
IPv6-Only地址
deb http://run6.hit.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://run6.hit.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://run6.hit.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://run6.hit.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://run6.hit.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://run6.hit.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://run6.hit.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://run6.hit.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://run6.hit.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://run6.hit.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
大连理工大学更新服务器,包含其他开源镜像:
( IPv4/v6 Both )
deb http://mirror.dlut.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirror.dlut.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirror.dlut.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirror.dlut.edu.cn/ubuntu/ubuntu trusty-backports main restricted universe multiverse
deb http://mirror.dlut.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirror.dlut.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirror.dlut.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirror.dlut.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirror.dlut.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirror.dlut.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
上海交通大学更新服务器(教育网千兆接入,联通/电信线路情况不详),包含其他开源镜像:
deb http://ftp.sjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
IPv6-Only 地址
deb http://ftp6.sjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://ftp6.sjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://ftp6.sjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://ftp6.sjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb http://ftp6.sjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://ftp6.sjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://ftp6.sjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://ftp6.sjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://ftp6.sjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://ftp6.sjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
厦门大学更新服务器,由厦门大学信息与网络中心维护,包含其他开源镜像:
( IPv4/v6 Both )
deb http://mirrors.xmu.edu.cn/ubuntu/archive/ trusty main restricted universe multiverse
deb http://mirrors.xmu.edu.cn/ubuntu/archive/ trusty-backports restricted universe multiverse
deb http://mirrors.xmu.edu.cn/ubuntu/archive/ trusty-proposed main restricted universe multiverse
deb http://mirrors.xmu.edu.cn/ubuntu/archive/ trusty-security main restricted universe multiverse
deb http://mirrors.xmu.edu.cn/ubuntu/archive/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ trusty main restricted universe multiverse
deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ trusty-security main restricted universe multiverse
deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ trusty-updates main restricted universe multiverse
成都市电子科技大学更新服务器,由电子科大学生宿舍网管会维护。仅包括 Ubuntu 镜像:
( IPv4-Only )
(如下列地址不通,可换用 uestc.edu.cn 域名尝试)
deb http://ubuntu.dormforce.net/ubuntu/ trusty main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ trusty-backports main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ trusty-security main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ trusty main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ trusty-updates main multiverse restricted universe
兰州大学更新服务器,由兰大开源社区维护,包含其他开源镜像:
deb http://mirror.lzu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb http://mirror.lzu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://mirror.lzu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://mirror.lzu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://mirror.lzu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://mirror.lzu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://mirror.lzu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
以下为大陆地区外的源
香港中文大学更新服务器,由香港中文大学资讯科技服务处维护,包含其他开源镜像:
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-security main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-updates main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-backports main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-proposed main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-security main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-updates main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-backports main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-proposed main restricted universe
台湾的官方源。速度有时甚至快于内地的,包含 Debian 等其他镜像:
deb http://tw.archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse
原文地址:
【linux开发】apt源设置的更多相关文章
- Linux将yum源设置为阿里云的镜像源
第一步:备份原有镜像源 mv /etc/yum.repo.d/Centos-Base.repo /etc/yum.repo.d/Centos-Base.repo.bak 第二步:下载阿里云的镜像源 w ...
- Debian7 apt源设置
刚装完系统时是没有 apt-spy 的,这时候我们可以暂时先找个可用的源代替,如(写在 /etc/apt/sources.list 中): deb http://http.us.debian.org/ ...
- 【Qt开发】【Linux开发】QT设置环境变量QWS_DISPLAY
QT设置环境变量QWS_DISPLAY 当应用程序./myQtApp -qws启动时,会去检测QWS_DISPLAY这个环境变量, 判断界面最终显示在哪个framebuffer中, 如果是虚拟的fra ...
- Linux 开发板网络设置
改动IP地址步骤: ①改动/etc/eth0-setting 命令:vi /etc/eth0-setting ②改动对应的信息.最后:wq退出 ③重新启动eth0 命令:/etc/init.d/ifc ...
- yum或apt基本源设置指南
关于: 管理Linux服务器的运维或开发人员经常需要安装软件,最常用方式应该是通过Linux系统提供的包管理工具来在线安装,比如centos的yum,ubuntu或debian的apt-get.当然这 ...
- debian配置---->/etc/apt/sources.list apt基本源设置指南
yum或apt基本源设置指南 关于: 管理Linux服务器的运维或开发人员经常需要安装软件,最常用方式应该是通过Linux系统提供的包管理工具来在线安装,比如centos的yum,ubuntu或d ...
- Android源码浅析(四)——我在Android开发中常用到的adb命令,Linux命令,源码编译命令
Android源码浅析(四)--我在Android开发中常用到的adb命令,Linux命令,源码编译命令 我自己平时开发的时候积累的一些命令,希望对你有所帮助 adb是什么?: adb的全称为Andr ...
- 把Linux目录挂载到开发板、设置开发板从NFS启动、取消开发板从NFS启动
声明:文中"PC虚拟机Linux"是指在PC上安装了虚拟机,然后在虚拟机中装的Linux. 关于NFS的详细介绍可参考:http://www.cnblogs.com/nufangr ...
- windows安装linux虚拟机、修改apt源
记录一下windows安装虚拟机以及初始配置的一些坑. 安装VMware Workstation 直接百度搜索VMware,选择合适的版本下载: 按照一般软件的安装步骤安装VMware Worksta ...
随机推荐
- [易学易懂系列|rustlang语言|零基础|快速入门|(6)|变量绑定]
[易学易懂系列|rustlang语言|零基础|快速入门|(6)] 有意思的基础知识 变量绑定 我们现在回过头来看看,一些基础知识. 因为理解了前面的重要概念:所有权,借用,生命周期. 我们现在看基础知 ...
- pikachu-xss和csrf
简介 XSS是一种发生在Web前端的漏洞,所以其危害的对象也主要是前端用户 XSS漏洞可以用来进行钓鱼攻击.前端js挖矿.盗取用户cookie,甚至对主机进行远程控制 攻击流程 假设存在漏洞的是一个论 ...
- Error: unable to perform an operation on node 'rabbit@DESKTOP-6JT7D2H'. Please see diagnostics information and suggestions below.
https://blog.csdn.net/qq_32814555/article/details/79494533
- 【模板】Lucas定理
代码如下 #include <bits/stdc++.h> using namespace std; typedef long long LL; const int maxn=1e5+10 ...
- Vue框架使用sass
引入: cnpm install node-sass --save-dev //安装node-sass cnpm install sass-loader@7.3.1 --save-dev cnpm i ...
- 【leetcode】1210. Minimum Moves to Reach Target with Rotations
题目如下: In an n*n grid, there is a snake that spans 2 cells and starts moving from the top left corner ...
- GO语言学习笔记5-defer的使用
1. 什么是defer defer是Go语言提供的一种用于注册延迟调用的机制:让函数或语句可以在当前函数执行完毕后(包括通过return正常结束或者panic导致的异常结束)执行. 2. defer的 ...
- Django orm self 自关联表
自关联模型 自关联模型就是表中的某一列,关联了这个表的另外一列.最典型的自关联模型就是地区表.省市县都在一张表里面.省的pid为null,市的pid为省的pid,县的pid为市的ID. class A ...
- yaf 生成项目
yaf 生成项目 yaf下载安装地址 https://github.com/laruence/yaf/releases 生成项目 一定需要在安装yaf的php版本环境中执行该语句 sudo /usr/ ...
- 11.关于django的content_type表
****** Django的contenttype表中存放发的是app名称和模型的对应关系 contentType使用方式 - 导入模块 from django.contrib.contenttype ...