使用清华源:https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
- 备份一下
cp /etc/apt/sources.list /etc/apt/sources_bak.list
- 替换文件内容为清华源
vim /etc/apt/sources.list

- 更新
apt-get clean
apt-get update
apt-get upgrade
使用清华源:https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
cp /etc/apt/sources.list /etc/apt/sources_bak.list
vim /etc/apt/sources.list
apt-get clean
apt-get update
apt-get upgrade
本文标题:ubuntu更换国内源
本文链接:https://www.haomeiwen.com/subject/nzcuurtx.html
网友评论