4.0 KiB
Can’t Run AppImage on Ubuntu 22.04? Here’s How to Fix it
The recently released Ubuntu 22.04 LTS is full of new visual changes and features.
But like any other release, it has its share of bugs and issues.
One of the unpleasant surprises I got in Ubuntu 22.04 was with the AppImage applications.
Even with all the right permissions, AppImage applications just refused to launch in my newly installed Ubuntu 22.04 system.
If you face a similar situation, I have good news for you. The fix is quite simple.
Running AppImage applications in Ubuntu 22.04 LTS
The problem here is that Ubuntu 22.04 is missing the FUSE (Filesystem in Userspace) library. This FUSE library provides an interface for userspace programs to export a virtual filesystem to the Linux kernel.
That’s how the AppImage works; on virtual filesystems. Since this crucial library is missing, AppImage doesn’t work as expected.
Now that you understand the root cause of the issue let’s see how to make it work.
Step 1: Install libfuse
Open the terminal in Ubuntu and use the following command to install the FUSE library support:
sudo apt install libfuse2
If you are new to the terminal stuff, here’s what you need to know. It will ask you to enter the sudo password. That’s your account password, actually. And when you type the password, nothing is displayed on the screen. That’s by design. Just keep on typing the password and enter.
Step 2: Make sure AppImage files have correct file permissions
This one goes without saying. You need to have ‘execute’ permission on the downloaded AppImage file of an application.
Go to the folder where you have downloaded the desired application’s AppImage file. Right-click on it and select Properties.
Now go to the Permissions tab and check the “Allow executing file as program” option.
With that set, you are good to go. Just double-click the file now, and it should run the application as intended.
This little step of getting libfuse is on my list of recommended things to do after installing Ubuntu 22.04.
Further troubleshooting tips
Your AppImage file is still not running? It may happen that the AppImage you have downloaded has some other issues that stop it from running.
One way to check it would be to download a known application like Balena Etcher and see if its AppImage file works or not. If this one works, then the AppImage file you downloaded for the other application is not good. You can dig deeper by running the AppImage file from the terminal and analyzing the error it shows.
Does it work for you?
Go ahead and try it. If it works, drop me a thank you note. If it still doesn’t, mention the details in the comment sections and I’ll try to help you out.
via: https://itsfoss.com/cant-run-appimage-ubuntu/
作者:Abhishek Prakash 选题:lkxed 译者:译者ID 校对:校对者ID