ubuntu 16.04 apt源使用阿里云镜像
生活随笔
收集整理的這篇文章主要介紹了
ubuntu 16.04 apt源使用阿里云镜像
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
備份原來的源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bakcup
編輯原來的文件
sudo vim /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更新
sudo apt update
總結
以上是生活随笔為你收集整理的ubuntu 16.04 apt源使用阿里云镜像的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Python pip使用国内镜像
- 下一篇: 自动驾驶多传感器融合