切换深色或浅色模式
apt换源 | Ubuntu
新版方案
- 打开配置文件位置:
cd /etc/apt/sources.list.d/
- 编辑配置文件:
nano ubuntu.sources
- 前往文末网站获取配置文件内容
旧版方案
- 打开配置文件位置:
cd /etc/apt/
- 编辑配置文件:
nano sources.list
- 前往文末网站获取配置文件内容
配置文件内容
前往以下网站获取内容:
- 清华大学开源软件镜像站:https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
- 阿里云开源镜像站:https://developer.aliyun.com/mirror/ubuntu
- 中国科学技术大学开源软件镜像:https://mirrors.ustc.edu.cn/help/ubuntu.html
- 网易开源镜像站:https://mirrors.163.com/.help/ubuntu.html