Debian

 

2024-02-23

/etc/apt/sources.list

Debian 12

Terminal window
1
echo "deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware" >>/etc/apt/sources.list && \
2
echo "deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware" >>/etc/apt/sources.list && \
3
echo "deb https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware" >>/etc/apt/sources.list && \
4
echo "deb https://mirrors.ustc.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware" >>/etc/apt/sources.list && \
5
echo "deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware" >>/etc/apt/sources.list && \
6
echo "deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware" >>/etc/apt/sources.list && \
7
echo "deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware" >>/etc/apt/sources.list && \
8
echo "deb-src https://mirrors.ustc.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware" >>/etc/apt/sources.list

Debian 11

Terminal window
1
deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
2
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
3
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main
4
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main
5
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
6
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
7
deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
8
deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib