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
上次更新: 4/3/2022, 9:24:30 AM