你提到的 fetchdebian 可能有两种情况,下面分别说明:
Debian 官方仓库里 并没有叫 fetchdebian 的包,所以大概率你是想:
.deb 包(含依赖)下面给你最常用、最稳妥的做法。
apt-get downloadsudo apt update
apt-get download 包名
只下载不安装,适合离线安装。
sudo apt install apt-rdepends
apt-rdepends 包名 | grep -v "^ " > deps.list
while read p; do apt-get download $p; done < deps.list
有些发行版有 fetch(如 neofetch、screenfetch):
sudo apt update
sudo apt install neofetch
neofetch
sudo apt install screenfetch
screenfetch
请确认来源(GitHub / 官网),不要随便 curl | bash。
如果是 GitHub 项目:
git clone https://github.com/作者/fetchdebian.git
cd fetchdebian
cat README.md
apt-get downloadneofetch如果你能发一下你看到 fetchdebian 的来源链接,我可以直接告诉你正确的安装方式和安全风险。