你提到的 fetchdebian 可能有两种常见含义,下面分别说明在 Debian 上如何“运行”它。
目前 Debian 官方并没有一个叫 fetchdebian 的标准命令。常见类似工具有:
debootstrap(最常用)用于在目录中创建一个最小的 Debian 系统:
sudo apt update
sudo apt install debootstrap
sudo debootstrap stable ./debian-root http://deb.debian.org/debian
运行后:
sudo chroot ./debian-root
apt-get download(拉取 deb 包)如果你只是想“fetch debian packages”:
apt-get download 包名
例如:
apt-get download vim
apt source(获取源码)apt source 包名
需要:
sudo apt install dpkg-dev
fetchdebian如果是 GitHub 或某个仓库中的 fetchdebian 脚本/程序:
git clone https://github.com/某作者/fetchdebian.git
cd fetchdebian
查看说明:
cat README.md
python3 fetchdebian.py
chmod +x fetchdebian.sh
./fetchdebian.sh
请告诉我:
fetchdebian 是 命令 / 脚本 / 项目名?我可以直接给你精确到可复制的命令。