温馨提示×

Ubuntu怎么删除AppImage文件

小樊
44
2026-08-27 06:08:58
栏目: 智能运维

在 Ubuntu 中,AppImage 本身不需要“安装”,所以也没有传统的“卸载”方式。删除 AppImage 文件本质上就是删除文件本身 + 清理相关配置。下面按步骤说明:


一、删除 AppImage 文件本身

1️⃣ 找到 AppImage 文件

常见位置:

  • ~/Downloads/
  • ~/Applications/
  • /opt/
  • 你自己指定的目录

例如:

ls ~/Downloads/*.AppImage

2️⃣ 删除 AppImage 文件

rm ~/Downloads/xxx.AppImage

如果提示权限不足:

sudo rm /opt/xxx.AppImage

二、删除 AppImage 的桌面图标(可选)

如果你之前用 AppImageLauncher 或手动创建了桌面图标:

1️⃣ 查看桌面文件

ls ~/.local/share/applications/

2️⃣ 删除对应 .desktop 文件

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

或系统级:

sudo rm /usr/share/applications/xxx.desktop

三、删除 AppImage 的配置和数据(可选)

AppImage 的程序数据通常在:

用户配置目录

ls ~/.config/
ls ~/.local/share/

例如:

rm -rf ~/.config/xxx
rm -rf ~/.local/share/xxx

(xxx 是程序名,如 obsidian


四、如果用了 AppImageLauncher(常见)

查看是否已安装

which appimagelauncher

如果不再需要 AppImageLauncher,可卸载:

sudo apt remove appimagelauncher

五、快速总结

操作 命令
删除 AppImage rm xxx.AppImage
删除桌面图标 rm ~/.local/share/applications/xxx.desktop
删除程序数据 rm -rf ~/.config/xxx
卸载 AppImageLauncher sudo apt remove appimagelauncher

如果你愿意,可以把 具体是哪个 AppImage安装方式(是否用 AppImageLauncher) 发给我,我可以给你更精确的清理方案 ✅

0