温馨提示×

怎样在debian卸载gimp

小樊
45
2026-10-22 04:34:30
栏目: 智能运维

在 Debian 系统中卸载 GIMP,可以根据你使用的包管理工具和安装方式来选择合适的方法。以下是常见做法:


一、使用 apt 卸载(最常见)

如果你是通过 apt 或 Debian 官方仓库安装的 GIMP:

1. 仅卸载 GIMP(保留配置)

sudo apt remove gimp

2. 卸载 GIMP 及其配置文件

sudo apt purge gimp

3. 清理不再需要的依赖

sudo apt autoremove

二、如果你是用 apt-get 安装的

命令类似:

sudo apt-get remove gimp
# 或
sudo apt-get purge gimp
sudo apt-get autoremove

三、如果你是用 Flatpak 安装的 GIMP

先查看是否已安装:

flatpak list | grep gimp

卸载:

flatpak uninstall org.gimp.GIMP

四、如果你是用 Snap 安装的 GIMP

snap remove gimp

五、确认是否卸载成功

which gimp
gimp --version

如果没有输出,说明已卸载。


六、可选:删除用户配置(手动)

即使 purge 后,用户目录下的配置可能还在:

rm -rf ~/.config/GIMP
rm -rf ~/.gimp-2.10

(版本号可能不同)


如果你不确定 GIMP 是怎么装的,可以告诉我:

  • Debian 版本
  • 安装方式(apt / flatpak / snap / 源码)

我可以帮你精确卸载。

0 踩