【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 ...
随机推荐
- python paramiko模块:远程连接服务器
1. SFTP基于 用户名密码 登录服务器,实现上传下载: import paramiko transport = paramiko.Transport(()) # 生成trasport,配置主机名 ...
- nll_loss
''' torch.nn torch.nn.functional (F)CrossEntropyLoss cross_entropy LogSoftmax log_softmax NLLLoss nl ...
- 脚本.sh
一:什么是脚本 shell文件,是跑在linux中的命令集合 #!/bin/sh 必须在文件的第一行 符号#! 用来告诉系统它后面的参y数是用来执行该文件的程序
- CodeForces-916A-jamie and Alarm Snooze(笨比题目)
链接: https://vjudge.net/problem/CodeForces-916A 题意: Jamie loves sleeping. One day, he decides that he ...
- 树莓派VI命令大全(附vim使用异常,卸载重新安装步骤)
vi有3个模式:插入模式.命令模式.低行模式. 插入模式:在此模式下可以输入字符,按ESC将回到命令模式. 命令模式:可以移动光标.删除字符等. 低行模式:可以保存文件.退出vi.设置vi.查找等功能 ...
- Codecombat 游戏攻略(计算机科学三)2
第33关 逻辑之路 判断secretB 非真,走上面:否则,走下面(这里面要先自己进行逻辑判断)if…else语句或者这样用(不用自己进行判断) // 如果 secretB 非真,走上面:否则,走下面 ...
- ThoughtWorks.QRCode 生成二维码名片(实现二维码内容换行)
最近在写一个很简单的功能,按照Vcard的格式,生成二维码名片.本来以为分分钟完事的事情,替换数据,直接调用dll去生成二维码. 测试时,发现生成的二维码使用微信扫描得到的名片信息为空,反向解析发现, ...
- Java 内置锁 重入问题
阅读<Java并发编程实战>,遇到了一个问题 代码如下 /** * @auther draymonder */ public class Widget { public synchroni ...
- 微信小程序POST请求参数传递不到后台, 前台获取不到后端返回的数据, 以及 post 请求返回 404 但后台能收到数据
1 微信小程序POST请求参数传递不到后台 需要在微信请求 wx.request 改变默认 header 配置为如下 wx.request({ url: 'test.php', //仅为示例,并非真实 ...
- go语言系列--输出正弦函数
实验所用到的标准库和包 库与包之间的理解可以类比成:数据库种的库和表 库名 作用 image 常见图形格式的访问及生成 log 日志记录库 math 数学库 os 操作系统平台不依赖平台操作封装 查看 ...