Debian10 添加清华 软件源

在Konsole里输入命令:

sudo gedit /etc/apt/sources.list

如果安装sudo gedit /etc/apt/sources.list打开源文件列表时报错,gedit找不到命令;

需要重新安装:sudo apt-get install gedit

 

source.list 中添加如下行:

# tsinghua source

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free

posted @ 2020-05-11 14:02  YJCCN  阅读(4958)  评论(0编辑  收藏  举报