最新阿里云软件源Ubuntu 18.04源

Posted orangehero

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了最新阿里云软件源Ubuntu 18.04源相关的知识,希望对你有一定的参考价值。

阿里云Ubuntu 18.04源

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

 

如何更换源:

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

cd /etc/apt/

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

删除其中所有内容,替换成最上边的源内容:(vim 下  删除所有行 的命令  :1,$d )

然后执行

sudo apt update

sudo apt upgrade



作者:倚南_Determined
链接:https://www.jianshu.com/p/16502ed02e29
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

以上是关于最新阿里云软件源Ubuntu 18.04源的主要内容,如果未能解决你的问题,请参考以下文章

嵌入式硬件Esp32Ubuntu18.04 更换阿里云软件源

阿里云ubuntu18.04安装robotframwork

ubuntu16.04更换镜像源为阿里云镜像源

Ubuntu18.04修改为阿里云

ubuntu16.04更换阿里云软件源

Ubuntu18.04更换阿里云源