Ubuntu 17.04 麒麟版配置阿里源

前端之家收集整理的这篇文章主要介绍了Ubuntu 17.04 麒麟版配置阿里源前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

拷贝sources.list文件

sudo cp -p /etc/apt/sources.list /etc/apt/sources.list.org

编辑sources.list文件

sudo gedit /etc/apt/sources.list

更换为下面内容

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

更新源

sudo apt update
原文链接:https://www.f2er.com/ubuntu/351371.html

猜你在找的Ubuntu相关文章