记一次无法打开AppImage

前几天,我由于无法忍受Windows总是删Linux的引导,一怒之下格盘装了Debian。用Debian 的时候有个奇怪的问题,AppImage无法运行了。提示什么chrome什么sandbox的权限有问题,最后加上了sudo--no-sandbox参数勉强算是解决了(不要学我)。

今天(2020-05-07),我发现Debian的开机速度特别慢,翻了翻启动日志也没看出什么端倪,一怒之下格盘装了Arch。经过我的不懈努力,终于配置好了,不得不说Arch真香。但刚刚我想试着运行AppImage打包的钉钉,发现运行不了。拖到终端里运行,果然发现有报错。

# david @ David-PC in ~ [15:05:14] 
$ /home/david/Programs/dingtalk-2.1.3.AppImage 
dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information

我才知道AppImage用到了FUSE技术……

pacman -Ss fuse

sudo pacman -S fuse-common fuse2 fuse3

看到有几个名字里带FUSE的包,一股脑全装上了,试着运行,发现还有报错

Gtk-Message: 15:05:29.733: Failed to load module "appmenu-gtk-module"

我一波操作猛如虎。

sudo pacman -S appmenu-gtk-module

再次尝试运行,这回没有输出信息了。

原文地址:https://www.cnblogs.com/xuyiyang/p/12843339.html