Ubuntu 14.04 更换为阿里云源
?
#備份
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
#編輯
sudo vim /etc/apt/sources.list,清空后,加入以下內容:
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
#更新
sudo apt-get update
參考:
https://www.cnblogs.com/menkeyi/p/6703542.html
轉載于:https://www.cnblogs.com/sea-stream/p/10986243.html
總結
以上是生活随笔為你收集整理的Ubuntu 14.04 更换为阿里云源的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: sql server版本特性简介、版本介
- 下一篇: ubuntu18.04安装pycharm