1. 长沙SEO霜天首页
  2. 技术分享

最新阿里云软件源Ubuntu 18.04源

更换apt源:(先备份一下)

cd /etc/apt/

sudo cp sources.list sources.list.bak && sudo vim sources.list

删除其中所有内容,替换成最上边的源内容:(vim 下  删除所有行 的命令  :1,$d )然后复制下面的,粘贴进去。

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

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

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

deb 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 main restricted universe multiverse

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

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

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

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

然后按esc,输入:wq

然后执行下面的两段代码。

sudo apt update

sudo apt upgrade

原创文章,作者:霜天,如若转载,请注明出处:https://www.i5seo.com/aliyun-software-source-ubuntu-18-04.html

发表评论

登录后才能评论

联系我们

18274972003

在线咨询:点击这里给我发消息

邮件:30115776@qq.com

工作时间:周一至周五,9:30-18:30,节假日休息