GIMP or GNU Image Manipulation Program is an open-source program used for many different purposes. Its primary function is to center around graphic design and editing images and transcoding between various image formats, free-form drawing, and many more specialized tasks. GIMP is released under GPL-3.0-or-later license and is available for Linux, macOS, and Microsoft Windows.
In the following tutorial, you will learn to install the GIMP on AlmaLinux 8 workstation using two methods with appstream dnf package manager or the flatpak package manager, both of which are installed natively on your workstation, along with some tips in maintaining or removing GIMP into the future.
Table of Contents
Before you begin, make sure your system is up-to-date to avoid any conflicts during the installation, and for good practice, use the terminal command as follows.
sudo dnf upgrade --refresh -y
Install GIMP – DNF Manager
The first option is to use the default dnf repository provided by Appstream. This is a stable and secure version and is most recommended to install over any other package manager but can be outdated compared to Flatpaks alternative option that is usually up-to-date.
First, execute the following dnf install command:
sudo dnf install gimp -y
At the tutorial time of creation, the DNF appstream version is at 2.8.xx, whereas the Flatpak version is 2.10.xx and maybe even higher as the tutorial ages. For the latest version of GIMP, use the flatpak method below.
Install GIMP – Flatpak Method
The second option is to use the Flatpak package manager. This comes installed on AlmaLinux 8 unless you removed it. This is another popular option similar to Snap but is featured amongst many distributions as an alternative third-party installation package manager for the latest packages.
First, re-install Flatpak if you have removed the package manager previously.
sudo dnf install flatpak -y
Next, you need to enable Flatpack using the following command in your terminal:
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Now install GIMP using the following flatpak command:
flatpak install flathub org.gimp.GIMP -y
How to Launch GIMP
Now that you have the GIMP client installed, launching can be done in two ways.
In your terminal type:
If you would like to launch GIMP and use the terminal, send it to the background:
Lastly, Flatpak users can run from the terminal using the following command.
flatpak run org.gimp.GIMP
However, this isn’t practical, and you would use the following path on your desktop to open with the path:
Activities > Show Applications > GNU Image Manipulation Program
Once you open GIMP, you will see the first default landing screen.
Congratulations, you have successfully installed GIMP.
How to Update/Upgrade GIMP
Updates should appear in notifications, but if these fail to show or sometimes, it is recommended to check using the terminal regardless use one of the following commands to check for updates.
sudo dnf update --refresh
How to Remove GIMP
For users who no longer require the paint application, use one of the following commands to suit the original installation method.
DNF Remove Method
sudo dnf autoremove gimp -y
Note, autoremove will also delete any unused packages from GIMP and any other leftovers from previous applications. Most times, this is safe to do and should be done to keep your system from being bloated.
Flatpak Remove Method
flatpak remove --delete-data org.gimp.GIMP -y
Next, run the following command for any leftover clean-ups required, similar to the autoremove command described for the dnf remove example command.
flatpak remove --unused
Comments and Conclusion
In the tutorial, you have learned how to add the official GIMP application on your AlmaLinux 8 workstation desktop in two different ways.
Overall, GIMP stands above many other applications of its nature as it offers a great, streamlined workflow which makes it easier for beginners to get started with the application. GIMP also has an easy-to-customize UI that can help accelerate workflows in online digital photography. It is worth a look.