使用 su root -l
进入 root 账户,然后执行以下命令:
$ wget https://mirrors.teach.com.cn/loongbian/loongbian-archive-keyring.gpg -O - | apt-key add -
$ apt install -y apt-transport-https ca-certificates
$ echo "deb https://mirrors.teach.com.cn/loongbian buster main" > /etc/apt/sources.list.d/loongbian.list
$ apt update