首页 » 学而享之 » Linux » 正文

使用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

 

未经允许不得转载:作者:吾爱博客, 转载或复制请以 超链接形式 并注明出处 吾爱博客
原文地址:《Ubuntu更换阿里源》 发布于2020-11-21

分享到:
赞(0)

评论 抢沙发

5 + 9 =


Vieu4.5主题
专业打造轻量级个人企业风格博客主题!专注于前端开发,全站响应式布局自适应模板。
切换注册

登录

忘记密码 ?

切换登录

注册