fetchdebian 通常是一个用于下载 Debian 软件包及其依赖的脚本/工具,它可能不是通过 apt 正式安装的,而是以脚本形式存在。卸载方法取决于它的安装方式。
下面按常见情况说明:
apt / dpkg 安装的在终端执行:
dpkg -l | grep fetchdebian
如果有输出,例如:
ii fetchdebian 1.0 all ...
则卸载:
sudo apt remove fetchdebian
# 或
sudo apt purge fetchdebian
清理依赖:
sudo apt autoremove
如果你是从 GitHub 或网站下载的 fetchdebian 脚本:
which fetchdebian
或
type fetchdebian
常见位置:
~/fetchdebian~/bin/fetchdebian/usr/local/bin/fetchdebianrm -f ~/fetchdebian
# 或
sudo rm -f /usr/local/bin/fetchdebian
grep fetchdebian ~/.bashrc ~/.zshrc ~/.profile
有的话删除对应行。
pip show fetchdebian
若存在:
pip uninstall fetchdebian
which fetchdebian
fetchdebian
如果都提示 command not found,说明已卸载成功。
如果你能告诉我:
which fetchdebian 的结果我可以给你更精确的卸载命令。