温馨提示×

怎么在Ubuntu运行AppImage

小樊
32
2026-07-31 16:19:50
栏目: 智能运维

在 Ubuntu 上运行 AppImage 非常简单,按下面步骤来即可:


一、下载 AppImage 文件

假设你已经下载了一个 AppImage 文件,例如:

example.AppImage

二、赋予执行权限(必须)

AppImage 默认没有执行权限,需要先赋予:

方法一:命令行

chmod +x example.AppImage

然后运行:

./example.AppImage

方法二:图形界面

  1. 右键 AppImage 文件
  2. 选择 属性(Properties)
  3. 权限(Permissions) 选项卡中
  4. 勾选 “允许作为程序执行(Allow executing file as program)”
  5. 双击运行

三、如果双击没反应(常见问题)

1️⃣ 缺少 FUSE(很常见)

AppImage 依赖 FUSE,Ubuntu 22.04+ 默认可能没装。

安装 FUSE:

sudo apt update
sudo apt install fuse libfuse2

然后重新运行:

./example.AppImage

2️⃣ 使用 --no-sandbox(某些应用)

如果是 Electron 类应用,可尝试:

./example.AppImage --no-sandbox

四、集成到系统(可选)

用 AppImageLauncher(推荐)

AppImageLauncher 可以把 AppImage 自动集成到应用菜单。

安装:

sudo add-apt-repository ppa:appimagelauncher-team/stable
sudo apt update
sudo apt install appimagelauncher

之后双击 AppImage 会提示 “集成到系统”


五、常见问题排查

❌ 提示 “Permission denied”

✅ 确认已执行:

chmod +x xxx.AppImage

❌ 提示 “FUSE not found”

✅ 安装:

sudo apt install libfuse2

❌ 双击无反应

✅ 用终端运行查看错误:

./example.AppImage

六、总结

核心步骤只有两步:

chmod +x xxx.AppImage
./xxx.AppImage

如果你愿意,可以把 具体 AppImage 名称 / Ubuntu 版本 发给我,我可以帮你精确排查问题。

0