linux清华镜像源地址
时间: 2023-11-12 21:07:24 浏览: 240
清华大学开源软件镜像站提供了丰富的Linux发行版镜像,其地址为:https://mirrors.tuna.tsinghua.edu.cn/
如果您需要使用清华大学的镜像源,可以在您的Linux系统中进行如下配置:
1.备份原有的源配置文件
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
2.编辑源配置文件
sudo vim /etc/apt/sources.list
3.将以下内容添加到文件中
deb https://mirrors.tuna.tsinghua.edu.*** https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.***
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
4.更新源列表
sudo apt-get update
阅读全文