使用vim编辑sources.list

vi /etc/apt/sources.list

将以下内容复制进去保存

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src

http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb

http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb-src

http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb

http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb-src

http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb

http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb-src

http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb

http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src

http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

更新源

sudo apt-get update

 

吾爱博客|AYFRE.COM 版权所有,转载请标明出处
吾爱博客 » Ubuntu更换阿里源

发表评论

吾爱博客|AYFRE.COM