1. 确定自己的ubantu系统的codename,命令:lsb_release –a
2. 登陆http://mirrors.aliyun.com/ubuntu/dists/,确认阿里源是否支持自己的系统。
3. 备份系统源,(备份是个好习惯)
4. 添加新的源文件,添加以下内容,注意每一行的xenial要用自己的codename替换
deb http://mirrors.aliyun.com/ubuntu/ xenial main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main multiverse restricted universe
2. 登陆http://mirrors.aliyun.com/ubuntu/dists/,确认阿里源是否支持自己的系统。
3. 备份系统源,(备份是个好习惯)
4. 添加新的源文件,添加以下内容,注意每一行的xenial要用自己的codename替换
deb http://mirrors.aliyun.com/ubuntu/ xenial main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main multiverse restricted universe