Ubuntu16.04 更换源

备份一下Ubuntu 原来的源地址列表文件

sudo cp /etc/apt/sources.list /etc/apt/sources.list.old

在终端 cd /etc/apt 修改文件sources.list

sudo vim sources.list

把文件的源替换成阿里源

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-backports main restricted universe multiverse 

你可能感兴趣的:(软件部署)