温馨提示×

linux fetchlinux如何卸载

小樊
48
2026-09-25 18:32:57
栏目: 智能运维

你提到的 fetchlinux 可能是指 FetchLinux(一个用于下载/管理 Linux 相关资源的工具或脚本),但目前 FetchLinux 并不是一个广为人知、由主流发行版提供的标准包,所以卸载方式取决于它是怎么安装的。

下面按常见情况给你对应方案:


一、如果是用包管理器安装的

1. Debian / Ubuntu / Linux Mint

sudo apt remove fetchlinux
sudo apt autoremove

2. Red Hat / CentOS / Fedora

sudo yum remove fetchlinux
# 或
sudo dnf remove fetchlinux

3. Arch Linux

sudo pacman -Rns fetchlinux

二、如果是用 pip 安装的(Python 工具)

pip uninstall fetchlinux
# 或
pip3 uninstall fetchlinux

如果用了虚拟环境,先激活环境再卸载。


三、如果是 git clone + 手动安装的

常见情况(比如从 GitHub 拉下来的):

# 找到安装目录
which fetchlinux

# 假设在 /opt/fetchlinux 或 ~/fetchlinux
sudo rm -rf /opt/fetchlinux
rm -rf ~/fetchlinux

如果加了软链接:

sudo rm /usr/local/bin/fetchlinux

四、如果是 AppImage

直接删除 AppImage 文件即可:

rm ~/Downloads/fetchlinux.AppImage

五、不确定怎么装的?

可以先用下面命令查:

which fetchlinux
type fetchlinux
dpkg -l | grep fetchlinux
rpm -qa | grep fetchlinux
pip show fetchlinux

如果你能告诉我:

  • 发行版(Ubuntu / CentOS / Arch 等)
  • 安装方式(apt / git / pip / 脚本)

我可以给你精确的一步到位卸载命令。

0 踩