Ubuntu 使用阿里云软件源

2021/12/12 linux

Ubuntu 使用阿里云软件源 (opens new window)

sudo sed -i s/archive.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list
sudo sed -i s/security.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list
sudo apt-get update

or

sudo sed -i s/cn.archive.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list
sudo sed -i s/security.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list
sudo apt-get update
上次更新: 6/6/2022, 3:18:29 PM