版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/adley_app/article/details/89450178
清华大学开源软件镜像站: https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
# apt-get配置文件所在的目录为/etc/apt 首先先备份
cd /etc/apt
sudo cp sources.list sources.list.bak
vim sources.list
# 将原内容删除,替换为新的配置内容
# 更新源,使配置生效
sudo apt-get update
# 然后可以使用sudo apt-get install命令进行安装