温馨提示×

怎样卸载ubuntu appimage

小樊
49
2026-10-22 15:09:44
栏目: 智能运维

在 Ubuntu 中,AppImage 本身不是通过包管理器安装的程序,所以它没有传统的“卸载”命令。卸载 AppImage 其实就是删除文件 + 清理相关配置。

下面按常见情况给你完整步骤:


一、删除 AppImage 文件(核心步骤)

AppImage 通常是你自己下载的一个文件,例如:

~/Downloads/xxx.AppImage
~/.local/bin/xxx.AppImage
/opt/xxx.AppImage

直接删除即可:

rm ~/Downloads/xxx.AppImage

或右键 → 移动到回收站。


二、删除桌面快捷方式(如果有)

有些 AppImage 会生成 .desktop 文件:

ls ~/.local/share/applications/

找到类似:

xxx.desktop

删除:

rm ~/.local/share/applications/xxx.desktop

(如果是系统级,可能在 /usr/share/applications/)


三、清理配置文件(可选但推荐)

AppImage 运行后会生成配置,一般在:

~/.config/程序名/
~/.cache/程序名/

例如:

rm -rf ~/.config/xxx
rm -rf ~/.cache/xxx

不确定名字可以:

ls ~/.config

四、如果你是用 AppImageLauncher

如果你安装过 AppImageLauncher,它会把 AppImage 集成到系统:

卸载方式:

  1. 打开 AppImageLauncher 设置
  2. 或直接删除原 AppImage(通常在 ~/Applications)
rm ~/Applications/xxx.AppImage

五、确认是否彻底卸载

which xxx

无输出即表示命令已不存在。


总结(最简单版)

卸载 AppImage = 删文件 + 删 desktop + 清配置

如果你愿意,可以告诉我:

  • AppImage 名字
  • 是否用了 AppImageLauncher

我可以给你精确命令。

0 踩