ubuntu 16.04 更换国内源(下载源)(阿里源)(换源)
生活随笔
收集整理的這篇文章主要介紹了
ubuntu 16.04 更换国内源(下载源)(阿里源)(换源)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
ubuntu16.04和18.04更換國內源
先備份原始源文件source.list,
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak然后用gedit打開文件:
gedit /etc/apt/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-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse保存退出
總結
以上是生活随笔為你收集整理的ubuntu 16.04 更换国内源(下载源)(阿里源)(换源)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: vmware ubuntu 虚拟机每次启
- 下一篇: linux怎么安装vim?