在Debian系统中,FetchDebian是一个第三方软件仓库,它提供了许多最新的软件包。要在Debian系统中使用FetchDebian仓库,请按照以下步骤操作:
apt-transport-https和ca-certificates这两个软件包。如果没有,请运行以下命令来安装它们:sudo apt update
sudo apt install apt-transport-https ca-certificates
将以下命令中的URL替换为实际下载密钥的URL:
wget -qO - https://fetchdebian.org/GPG-KEY | sudo apt-key add -
fetchdebian.list的新文件:sudo nano /etc/apt/sources.list.d/fetchdebian.list
fetchdebian.list文件中,然后保存并关闭文件:deb https://deb.debian.org/debian/ bullseye main contrib non-free
deb-src https://deb.debian.org/debian/ bullseye main contrib non-free
deb https://fetchdebian.org/debian bullseye main
deb-src https://fetchdebian.org/debian bullseye main
这将添加FetchDebian的主仓库到你的系统中。
sudo apt update
sudo apt upgrade
现在,你已经成功地将FetchDebian仓库添加到了你的Debian系统中,并可以安装最新的软件包了。请注意,FetchDebian可能不包含所有Debian官方仓库中的软件包,因此某些软件包可能无法通过FetchDebian安装。