Ubuntu换阿里云源

Posted 北同学

tags:

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

sudo -s

cd /etc/apt

gedit source.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

apt update

apt upgrade

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

ubuntu配置阿里云源

[ubuntu]ubuntu20.04阿里云源

ubuntu20.04 LTS 更换国内163源、阿里源、清华源、中科大源

Ubuntu18.04更换阿里云源

Ubuntu16.04 使用阿里云源

Ubuntu 14.04 更换为阿里云源