国内常用镜像源

Tip: 换源后记得 sudo apt update 更新索引

1.Ubuntu

x86

清华
阿里云
中科大
重大
北京外国语

ARM

清华
北京外国语

2.Kali Linux

阿里云
中科大
重大

3.Debian

# Debian可能未预装导致无法使用 https 的镜像源, 先安装
sudo apt update && sudo apt install apt-transport-https ca-certificates -y
  • 1
  • 2

清华
中科大
阿里云
重大
北京外国语

4.Raspbian (对官方32位, 官方64位测试版国内源可以选用Debian 64位)

清华镜像
中科大
阿里源
北京外国语

5.msys2

清华
中科大
北京外国语

6.Termux

清华
北京外国语

7.Python (pypi)

清华
中科大
阿里云
网易云
重大
北京外国语

8.docker-ce

阿里云
清华
北京外国语
中科大

9.OpenWRT

清华
北京外国语
中科大

补充

对于Linux换源,可以不用手动去修改 /etc/apt/sources.list , 可以使用 sed 命令进行替换官方源链接

sudo sed -i 's/[官方源站地址]/[替换的目标地址]/g' /etc/apt/sources.list
  • 1

比如Debian源换清华源

sudo sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
  • 1
上一篇
下一篇