Ubuntu 16.04 replaces domestic software sources

After installing Ubuntu 16.04, you need to replace it with a domestic software source:

 sudo gedit /etc/apt/sources.list   #用文本编辑器打开源列表

Add the following Alibaba Cloud software source at the beginning of the file:

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

Update the software source: sudo apt-get update
Other software sources are also available. Alibaba Cloud's software source is the official domestic software source recommended by Ubuntu. , Tsinghua's software source is also available.

Guess you like

Origin blog.csdn.net/zou_albert/article/details/115057684