ubuntu 20.10 换源

ubuntu 20.10 换源

sudo gedit /etc/apt/sources.list
ctrl c +ctrl v
阿里云

deb http://mirrors.aliyun.com/ubuntu/ groovy main universe restricted multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ groovy main universe restricted multiverse #Added by software-properties
deb http://security.ubuntu.com/ubuntu/ groovy-security main universe restricted multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ groovy-security main universe restricted multiverse #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ groovy-updates main universe restricted multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ groovy-updates main universe restricted multiverse #Added by software-properties

ubuntu中国官方镜像源


deb http://cn.archive.ubuntu.com/ubuntu/ groovy main universe restricted multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ groovy main universe restricted multiverse #Added by software-properties
deb http://security.ubuntu.com/ubuntu/ groovy-security main universe restricted multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ groovy-security main universe restricted multiverse #Added by software-properties
deb http://cn.archive.ubuntu.com/ubuntu/ groovy-updates main universe restricted multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ groovy-updates main universe restricted multiverse #Added by software-properties

清华源


deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ groovy main universe restricted multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ groovy main universe restricted multiverse #Added by software-properties
deb http://security.ubuntu.com/ubuntu/ groovy-security main universe restricted multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ groovy-security main universe restricted multiverse #Added by software-properties
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ groovy-updates main universe restricted multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ groovy-updates main universe restricted multiverse #Added by software-properties

你可能感兴趣的:(ubuntu,apt)