Ubuntu16.04下更换清华源

Ubuntu

Ubuntu清华源更换网址

这个地址里同样有其他Linux发行版的源使用帮助信息。

更换步骤

1.在上述网址选择ubuntu版本,生成对应的源地址;

2.备份原始文件

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup

3.编辑源文件

sudo vim /etc/apt/sources.list

sources.list中内容注释或者删除掉,然后将第一步中生成的源地址粘贴进去;

4.然后更新软件包缓存sudo apt update

猜你喜欢

转载自blog.csdn.net/weixin_40602516/article/details/81200704
今日推荐