ubuntu换源问题

不要用清华源

实在是太慢了搞死我了

要用就用中科大源 又快又好用 真不知道CSDN 为啥用清华源说快

直接放链接

https://mirrors.ustc.edu.cn/help/ubuntu.html

还是需要手动配置的  设置里面配有问题

 

备份      sudo  cp   /etc/apt/sources.list   /etc/apt/sources.list.bak

sudo  chmod  777  /etc/apt/sources.list   更改文件权限使其可编辑

sudo  gedit   /etc/apt/sources.list    打开文件进行编辑

删了原来的直接用新的

# 默认注释了源码仓库,如有需要可自行取消注释
deb https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse
# deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse

deb https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse
# deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse

deb https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
# deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse

deb https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
# deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse

# 预发布软件源,不建议启用
# deb https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
# deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse

ubuntu换源问题

上一篇:mac zshrc环境变量配置


下一篇:ios中Json解析的四种方法