ubuntu16.04换国内源

Posted 巴州夜雨

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu16.04换国内源相关的知识,希望对你有一定的参考价值。

1.备份/etc/apt目录下的源文件sources.list。

2.更换源地址为如下其中一个:

清华源:

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial universe

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates universe

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial multiverse

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates multiverse

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security universe deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security 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

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 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

结束。

以上是关于ubuntu16.04换国内源的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu 16.04 换国内源

Ubuntu16.04 换阿里源

ubuntu16.04 国内源(网易阿里)

Ubuntu 16.04 几个国内更新源

Ubuntu16.04 配置 国内更新源

Ubuntu 16.04配置国内高速apt-get更新源