温馨提示×

centos中appimage怎样删除

小樊
35
2026-10-17 13:44:31
栏目: 智能运维

在 CentOS 中,AppImage 本身不是通过包管理器安装的程序,它本质上是一个可执行文件,所以“删除”通常就是直接删除文件 + 清理相关配置。下面按步骤说明:


一、确认 AppImage 文件位置

一般在以下位置之一:

  • ~/下载/(Downloads)
  • ~/Applications/
  • /opt/
  • 桌面或你自己放的地方

可以用命令查找:

find ~ -name "*.AppImage"

二、删除 AppImage 文件

假设文件是:

~/下载/example.AppImage

直接删除:

rm -f ~/下载/example.AppImage

如果之前赋予了执行权限,也没关系,删掉即可。


三、删除自动生成的桌面图标(可选)

有些 AppImage 第一次运行会生成:

  • .desktop 文件
  • 图标文件

清理方式:

1. 删除桌面快捷方式

rm -f ~/.local/share/applications/*example*.desktop

2. 删除图标

rm -f ~/.local/share/icons/*example*

(具体名字可能不同,可用 ls 查看)


四、删除程序配置(可选)

AppImage 一般会把配置写在用户目录:

rm -rf ~/.config/程序名
rm -rf ~/.cache/程序名

如果不确定程序名,可以:

ls ~/.config
ls ~/.cache

五、如果是“集成到系统”的 AppImage

如果你用过:

  • AppImageLauncher
  • ./xxx.AppImage --install

那么可能做了系统级集成,可运行:

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

或重新用 AppImageLauncher 卸载(如果有)。


总结一句话

CentOS 中删除 AppImage = 删除 AppImage 文件 + 清理桌面/配置(可选),不需要 yum 或 dnf。

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

  • AppImage 名字
  • 是否用了 AppImageLauncher

我可以给你更精确的删除命令。

0 踩