linux-sources.list

ubuntu16.04阿里云源

  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

网易linux源

http://mirrors.163.com/

阿里云linux源

http://mirrors.aliyun.com/

重要的再后面

sudo vim /etc/apt/source.list 将上面内容替换此文件内容[Tip:替换前备份原文件]

如果找不到对应版本的源将自行替换- mirrors.aliyun.com 网站上找不到 xenial, 那么就自行找一列替换成xenial的

版本及代号

Ubuntu

系统代号  版本  LTS
precise     12.04 true
trusty       14.04 true
vivid         15.04
xenial       16.04 true
zesty        17.04

Debina

系统代号 版本
squeeze  6.x
wheezy   7.x
jessie      8.x

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注