Ir para o conteúdo

Install Software with an AppImage

Introduction

AppImages are a convenient way to install software on Linux without using package managers or the command line. They are single-file executables that contain all the program's dependencies, making them easy to run on various Linux distributions. For end-users familiar with Windows and Mac operating systems, installing software with an AppImage may be more straightforward than managing repositories or building from source.

Installing programs on your Rocky Linux desktop with AppImage is a three-step process:

  1. Download the desired program's AppImage
  2. Make the program executable
  3. Run the program to install it

The example program used in this guide is Krita. You will download and install it using an AppImage. Krita is a free and open-source graphic design software. Since this guide is about the functions of AppImage, there are no details on using Krita. You can read more about it on their website.

Assumptions

For this guide, you need the following:

  • Rocky Linux with a desktop environment installed
  • sudo privileges

Downloading a Program's AppImage

The first step of installing software using an AppImage is downloading the program's AppImage. To download the Krita AppImage, go to the Download page and click the Download button.

Click download appimage button

Installing a Program using its AppImage

After downloading the AppImage, you must navigate to the Downloads folder to make the file executable before running it.

In the top left corner of your Rocky Linux desktop, click Activities:

Rocky Linux desktop with default wallpaper. The mouse is hovered over the activities button.

Once the activities panel launches, type 'files' into the search field. Click the Files app:

Activites pane on a Rocky Linux system. 'Files' is typed into the search field. The Files app is hovered over.

Files will launch in the home directory. Click the Downloads folder:

The Files app is open, and the mouse is hovered over the Downloads folder.

Now that you have navigated to the AppImage directory, it is time to make the program executable. Right-click the AppImage file and select properties:

The AppImage file is selected. The mouse is hovered over properties.

Select permissions from the file properties menu:

Permissions is selected in the file properties menu

Select the checkbox labeled 'Execute' before closing the properties menu:

The checkbox labeled 'Execute' has been selected

If you would instead use the command line, open the terminal and run the following command to make the AppImage executable:

sudo chmod a+x ~/Downloads/krita*.appimage

Running a Program using its AppImage

You have reached the final step - running your AppImage!

Note

Running an AppImage does not install the program into your system's files like traditional software packages do. This means that whenever you want to use the program, you must double-click the AppImage. For this reason, it is important to store the AppImage in a safe and memorable place.

Double-click the AppImage:

The AppImage is selected, indicating it was double-clicked and ran

You can alternatively run the following shell command instead of double-clicking the AppImage:

bash ./krita*.appimage

Shortly after running the AppImage, Krita will launch.

The Krita app launcher

Conclusion

This guide taught you how to download and use a program with an AppImage. AppImages are convenient for end-users because they do not need to know how to manage repositories, build from source, or use the command line to use their favorite programs with an available AppImage.

Author: Joseph Brinkman

Contributors: Steven Spencer, Ganna Zhyrnova