Linux

0X02 Ubuntu国内源

2016-11-28  本文已影响765人  唐古拉老山羊

sudo apt-get update  #更新源

sudo  apt-get upgrade #安装源

sudo gedit /etc/apt/sources,list #源位置

ubuntu国内源

16.04 版

deb http://cn.archive.ubuntu.com/ubuntu/xenial main restricted universe multiverse

deb http://cn.archive.ubuntu.com/ubuntu/xenial-security main restricted universe multiverse

deb http://cn.archive.ubuntu.com/ubuntu/xenial-updates main restricted universe multiverse

deb http://cn.archive.ubuntu.com/ubuntu/xenial-backports main restricted universe multiverse

##测试版源

deb http://cn.archive.ubuntu.com/ubuntu/xenial-proposed main restricted universe multiverse

# 源码

deb-src http://cn.archive.ubuntu.com/ubuntu/xenial main restricted universe multiversedeb-srchttp://cn.arc

hive.ubuntu.com/ubuntu/xenial-security main restricted universe multiverse

deb-src http://cn.archive.ubuntu.com/ubuntu/xenial-updates main restricted universe multiverse

deb-src http://cn.archive.ubuntu.com/ubuntu/xenial-backports main restricted universe multiverse

##测试版源

deb-src http://cn.archive.ubuntu.com/ubuntu/xenial-proposed main restricted universe multiverse

# Canonical 合作伙伴和附加

deb http://archive.canonical.com/ubuntu/xenial partnerdebhttp://extras.ubuntu.com/ubuntu/xenial main

其他源

##Archive.ubuntu.com更新服务器(欧洲,此为官方源,电信网通用户使用):

deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##Ubuntu.cn99.com更新服务器(江苏省常州市电信,推荐电信用户使用):

deb http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse

deb-src http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse

deb-src http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse

deb-src http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse

deb-src http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse

deb-src http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu-cn/ hardy main restricted universe multiverse

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##Mirrors.shlug.org更新服务器(电信服务器,Ubuntu China Official Mirror, maintained by Shanghai Linux User Group):

deb http://cn.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse

deb http://cn.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse

deb http://cn.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse

deb http://cn.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse

deb http://cn.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

deb-src http://cn.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse

deb-src http://cn.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse

deb-src http://cn.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse

deb-src http://cn.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse

deb-src http://cn.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##Mirror.lupaworld.com更新服务器(浙江省杭州市双线服务器,网通电信都可以用,亚洲地区官方更新服务器):

deb http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu hardy-backports main restricted universe multiverse

deb http://mirror.lupaworld.com/ubuntu hardy-proposed main restricted universe multiverse

deb-src http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse

deb-src http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse

deb-src http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse

deb-src http://mirror.lupaworld.com/ubuntu hardy-backports main restricted universe multiverse

deb-src http://mirror.lupaworld.com/ubuntu hardy-proposed main restricted universe multiverse

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##厦门大学更新服务器(教育网服务器):

deb ftp://ubuntu.realss.cn/ubuntu/ hardy main restricted universe multiverse

deb ftp://ubuntu.realss.cn/ubuntu/ hardy-backports restricted universe multiverse

deb ftp://ubuntu.realss.cn/ubuntu/ hardy-proposed main restricted universe multiverse

deb ftp://ubuntu.realss.cn/ubuntu/ hardy-security main restricted universe multiverse

deb ftp://ubuntu.realss.cn/ubuntu/ hardy-updates main restricted universe multiverse

deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy main restricted universe multiverse

deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-backports main restricted universe multiverse

deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-proposed main restricted universe multiverse

deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-security main restricted universe multiverse

deb-src ftp://ubuntu.realss.cn/ubuntu/ hardy-updates main restricted universe multiverse

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##成都市电子科技大学更新服务器(教育网,推荐校园网和网通用户使用):

deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy main multiverse restricted universe

deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe

deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe

deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-security main multiverse restricted universe

deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe

deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy main multiverse restricted universe

deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe

deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe

deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-security main multiverse restricted universe

deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##如果无法解析uestc.edu.cn域名,请使用以下地址

deb http://ubuntu.dormforce.net/ubuntu/ hardy main multiverse restricted universe

deb http://ubuntu.dormforce.net/ubuntu/ hardy-backports main multiverse restricted universe

deb http://ubuntu.dormforce.net/ubuntu/ hardy-proposed main multiverse restricted universe

deb http://ubuntu.dormforce.net/ubuntu/ hardy-security main multiverse restricted universe

deb http://ubuntu.dormforce.net/ubuntu/ hardy-updates main multiverse restricted universe

deb-src http://ubuntu.dormforce.net/ubuntu/ hardy main multiverse restricted universe

deb-src http://ubuntu.dormforce.net/ubuntu/ hardy-backports main multiverse restricted universe

deb-src http://ubuntu.dormforce.net/ubuntu/ hardy-proposed main multiverse restricted universe

deb-src http://ubuntu.dormforce.net/ubuntu/ hardy-security main multiverse restricted universe

deb-src http://ubuntu.dormforce.net/ubuntu/ hardy-updates main multiverse restricted universe

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##上海市上海交通大学更新服务器(教育网,推荐校园网和网通用户使用):

deb http://ftp.sjtu.edu.cn/ubuntu/ hardy main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/ubuntu/ hardy-security main multiverse restricted universe

deb http://ftp.sjtu.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/ubuntu/ hardy main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/ubuntu/ hardy-security main multiverse restricted universe

deb-src http://ftp.sjtu.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##中国科学技术大学更新服务器(教育网,推荐校园网和网通用户使用):

deb http://debian.ustc.edu.cn/ubuntu/ hardy main multiverse restricted universe

deb http://debian.ustc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe

deb http://debian.ustc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe

deb http://debian.ustc.edu.cn/ubuntu/ hardy-security main multiverse restricted universe

deb http://debian.ustc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe

deb-src http://debian.ustc.edu.cn/ubuntu/ hardy main multiverse restricted universe

deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe

deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe

deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-security main multiverse restricted universe

deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##北京市清华大学更新服务器(教育网,推荐校园网和网通用户使用):

deb http://mirror9.net9.org/ubuntu/ hardy main multiverse restricted universe

deb http://mirror9.net9.org/ubuntu/ hardy-backports main multiverse restricted universe

deb http://mirror9.net9.org/ubuntu/ hardy-proposed main multiverse restricted universe

deb http://mirror9.net9.org/ubuntu/ hardy-security main multiverse restricted universe

deb http://mirror9.net9.org/ubuntu/ hardy-updates main multiverse restricted universe

deb-src http://mirror9.net9.org/ubuntu/ hardy main multiverse restricted universe

deb-src http://mirror9.net9.org/ubuntu/ hardy-backports main multiverse restricted universe

deb-src http://mirror9.net9.org/ubuntu/ hardy-proposed main multiverse restricted universe

deb-src http://mirror9.net9.org/ubuntu/ hardy-security main multiverse restricted universe

deb-src http://mirror9.net9.org/ubuntu/ hardy-updates main multiverse restricted universe

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##沈阳市东北大学更新服务器(教育网,推荐校园网和网通用户使用):

deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ hardy main multiverse restricted universe

deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ hardy-backports main multiverse restricted universe

deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ hardy-proposed main multiverse restricted universe

deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ hardy-security main multiverse restricted universe

deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ hardy-updates main multiverse restricted universe

deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ hardy main multiverse restricted universe

deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ hardy-backports main multiverse restricted universe

deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ hardy-proposed main multiverse restricted universe

deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ hardy-security main multiverse restricted universe

deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ hardy-updates main multiverse restricted universe

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##中国台湾 台湾大学更新服务器(推荐网通用户使用,电信PING平均响应速度41MS。强烈推荐此源,比较完整,较少出现同步问题):

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse

deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse

deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse

deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse

deb-src http://ubuntu.csie.ntu.e官方源:du.tw/ubuntu/ hardy-security main restricted universe multiverse

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main multiverse restricted universe

deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##Mirror.vmmatrix.net更新服务器(上海市电信,推荐电信网通用户使用):

deb http://mirror.vmmatrix.net/ubuntu/ hardy main restricted universe multiverse

deb-src http://mirror.vmmatrix.net/ubuntu/ hardy main restricted universe multiverse

deb http://mirror.vmmatrix.net/ubuntu/ hardy-updates main restricted universe multiverse

deb-src http://mirror.vmmatrix.net/ubuntu/ hardy-updates main restricted universe multiverse

deb http://mirror.vmmatrix.net/ubuntu/ hardy-backports main restricted universe multiverse

deb-src http://mirror.vmmatrix.net/ubuntu/ hardy-backports main restricted universe multiverse

deb http://mirror.vmmatrix.net/ubuntu/ hardy-security main restricted universe multiverse

deb-src http://mirror.vmmatrix.net/ubuntu/ hardy-security main restricted universe multiverse

deb http://mirror.vmmatrix.net/ubuntu/ hardy-proposed main multiverse restricted universe

deb-src http://mirror.vmmatrix.net/ubuntu/ hardy-proposed main restricted universe multiverse

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##ubuntu.cnsite.org更新服务器(福建省福州市 电信):

deb http://ubuntu.cnsite.org/ubuntu/ hardy main restricted universe multiverse

deb-src http://ubuntu.cnsite.org/ubuntu/ hardy main restricted universe multiverse

deb http://ubuntu.cnsite.org/ubuntu/ hardy-updates main restricted universe multiverse

deb-src http://ubuntu.cnsite.org/ubuntu/ hardy-updates main restricted universe multiverse

deb http://ubuntu.cnsite.org/ubuntu/ hardy-backports main restricted universe multiverse

deb-src http://ubuntu.cnsite.org/ubuntu/ hardy-backports main restricted universe multiverse

deb http://ubuntu.cnsite.org/ubuntu/ hardy-security main restricted universe multiverse

deb-src http://ubuntu.cnsite.org/ubuntu/ hardy-security main restricted universe multiverse

deb http://ubuntu.cnsite.org/ubuntu/ hardy-proposed main multiverse restricted universe

deb-src http://ubuntu.cnsite.org/ubuntu/ hardy-proposed main restricted universe multiverse

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##mirror.rootguide.org更新服务器(上海市 电信):

deb http://mirror.rootguide.org/ubuntu/ hardy main restricted universe multiverse

deb-src http://mirror.rootguide.org/ubuntu/ hardy main restricted universe multiverse

deb http://mirror.rootguide.org/ubuntu/ hardy-updates main restricted universe multiverse

deb-src http://mirror.rootguide.org/ubuntu/ hardy-updates main restricted universe multiverse

deb http://mirror.rootguide.org/ubuntu/ hardy-backports main restricted universe multiverse

deb-src http://mirror.rootguide.org/ubuntu/ hardy-backports main restricted universe multiverse

deb http://mirror.rootguide.org/ubuntu/ hardy-security main restricted universe multiverse

deb-src http://mirror.rootguide.org/ubuntu/ hardy-security main restricted universe multiverse

deb http://mirror.rootguide.org/ubuntu/ hardy-proposed main multiverse restricted universe

deb-src http://mirror.rootguide.org/ubuntu/ hardy-proposed main restricted universe multiverse

deb http://mirror.rootguide.org/ubuntu-cn/ hardy main restricted universe multiverse

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##Tw.archive.ubuntu.com台湾官方更新源(速度也相当不错,有时甚至快于内地的):

deb http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse

deb http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse

deb http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse

deb http://tw.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse

deb http://tw.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

deb-src http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse

deb-src http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse

deb-src http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse

deb-src http://tw.archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse

deb-src http://tw.archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

小贴士:只需在上述几个更新源中保留一个你测试出来下载速度最快的源就可以了,不用把所有源添加,添加完国内源之后,当然最好还是在国内源后面再添加一个

官方源:

deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

上一篇 下一篇

猜你喜欢

热点阅读