linux源

更换源:https://blog.csdn.net/clouderpig/article/details/77574180

 

把linux软件放在一个pool里面,用一条命令就可以自动从指定服务器下载并安装


源列表是/etc/apt/sources.list,里面写了你所用的服务器地址

国内比较流行的有阿里源,网易源,中国科技大学源、清华大学源等等;

如下面这些源:

 由于ubuntu自带的下载源主要是国外的,国内用户使用起来速度比较慢,现在将国内几个主要的ubuntu下载源列出来;你可以任选一个可用的下载源。

 需要注意一点就是以下列出的一小部分下载源只适用于ubuntu 16.04版本,如果需要下载其他版本请访问源列表原文(http://wiki.ubuntu.org.cn/Qref/Source)。ubuntu各个版本分别对应18.04 为 bionic,17.10 为artful,16.04 为xenial ,14.04 为trusty。

下载源主要有教育网和非教育网的区别。
1.教育网用户可以更换的下载源:
清华大学镜像点:

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse

浙江大学镜像点:  

deb http://mirrors.zjustu.org/ubuntu/ xenial main restricted universe multiverse 
  deb http://mirrors.zjustu.org/ubuntu/ xenial-backports restricted universe multiverse 
  deb http://mirrors.zjustu.org/ubuntu/ xenial-proposed main restricted universe multiverse 
  deb http://mirrors.zjustu.org/ubuntu/ xenial-security main restricted universe multiverse 
  deb http://mirrors.zjustu.org/ubuntu/ xenial-updates main restricted universe multiverse 
  deb-src http://mirrors.zjustu.org/ubuntu/ xenial main restricted universe multiverse 
  deb-src http://mirrors.zjustu.org/ubuntu/ xenial-backports main restricted universe multiverse 
  deb-src http://mirrors.zjustu.org/ubuntu/ xenial-proposed main restricted universe multiverse 
  deb-src http://mirrors.zjustu.org/ubuntu/ xenial-security main restricted universe multiverse 

中国科学技术大学镜像点:

deb https://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb http://download.virtualbox.org/virtualbox/debian xenial contrib

北京理工大学镜像点:

deb http://mirror.bjtu.edu.cn/ubuntu/ xenial main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ xenial-backports main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ xenial-proposed main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ xenial-security main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ xenial-updates main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ xenial main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ xenial-backports main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ xenial-proposed main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ xenial-security main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ xenial-updates main multiverse restricted universe
天津大学镜像点:  

deb http://mirror.tju.edu.cn/ubuntu/ xenial main restricted universe multiverse 
  deb http://mirror.tju.edu.cn/ubuntu/ xenial-security main restricted universe multiverse 
  deb http://mirror.tju.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse 
  deb http://mirror.tju.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse 
  deb http://mirror.tju.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse 
  deb-src http://mirror.tju.edu.cn/ubuntu/ xenial main restricted universe multiverse 
  deb-src http://mirror.tju.edu.cn/ubuntu/ xenial-security main restricted universe multiverse 
  deb-src http://mirror.tju.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse 
  deb-src http://mirror.tju.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse 
  deb-src http://mirror.tju.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
电子科技大学镜像点:  

deb http://ubuntu.dormforce.net/ubuntu/ xenial main restricted universe multiverse 
  deb http://ubuntu.dormforce.net/ubuntu/ xenial-backports main restricted universe multiverse 
  deb http://ubuntu.dormforce.net/ubuntu/ xenial-proposed main restricted universe multiverse 
  deb http://ubuntu.dormforce.net/ubuntu/ xenial-security main restricted universe multiverse 
  deb http://ubuntu.dormforce.net/ubuntu/ xenial-updates main restricted universe multiverse 
  deb-src http://ubuntu.dormforce.net/ubuntu/ xenial main restricted universe multiverse 
  deb-src http://ubuntu.dormforce.net/ubuntu/ xenial-backports main restricted universe multiverse 
  deb-src http://ubuntu.dormforce.net/ubuntu/ xenial-proposed main restricted universe multiverse 
  deb-src http://ubuntu.dormforce.net/ubuntu/ xenial-security main restricted universe multiverse 
  deb-src http://ubuntu.dormforce.net/ubuntu/ xenial-updates main restricted universe multiverse
西安电子科技大学镜像点:

deb http://linux.xidian.edu.cn/mirrors/ubuntu/ xenial main restricted universe multiverse
deb-src http://linux.xidian.edu.cn/mirrors/ubuntu/ xenial main restricted universe multiverse
deb http://linux.xidian.edu.cn/mirrors/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://linux.xidian.edu.cn/mirrors/ubuntu/ xenial-security main restricted universe multiverse
deb http://linux.xidian.edu.cn/mirrors/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://linux.xidian.edu.cn/mirrors/ubuntu/ xenial-updates main restricted universe multiverse
deb http://linux.xidian.edu.cn/mirrors/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://linux.xidian.edu.cn/mirrors/ubuntu/ xenial-backports main restricted universe multiverse
deb http://linux.xidian.edu.cn/mirrors/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://linux.xidian.edu.cn/mirrors/ubuntu/ xenial-proposed main restricted universe multiverse
重庆大学镜像点:

deb http://mirrors.cqu.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.cqu.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.cqu.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.cqu.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.cqu.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.cqu.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.cqu.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.cqu.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.cqu.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.cqu.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
1.非教育网用户可以更换的下载源:
网易163镜像点:

deb http://mirrors.163.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ xenial-backports main restricted universe multiverse

阿里云镜像点:

deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
 

posted @ 2019-03-16 12:26  braveheart007  阅读(295)  评论(0编辑  收藏  举报