How to Install GIMP on Ubuntu 22.04 LTS

GIMP, or GNU Image Manipulation Program, is an open-source program used for many different purposes. Its primary function centers 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 Ubuntu 22.04 LTS Jammy Jellyfish using three methods: apt package manager, flatpak package manager, and snapcraft package manager, along with some tips in maintaining or removing GIMP in the future.

Update Ubuntu

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 apt update && sudo apt upgrade -y

Install GIMP – APT with Ubuntu Method

The first option is to use the Ubuntu 22.04 default APT repository. 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 apt install command.

sudo apt install gimp -y

Install GIMP – APT with PPA Method

The second option is to use the LaunchPAD PPA APT repository by Rob Savoury. This PPA contains the latest version of GIMP at all times and is probably the best option for Ubuntu 22.04 Jammy Jellyfish users to add to grab the newest version without resorting to third-party package managers.

Import the PPA using the following command.

sudo add-apt-repository ppa:savoury1/gimp -y

Next, perform an APT update to sync the new PPA.

sudo apt-get update

Now install GIMP from the PPA using the following apt install command.

sudo apt install gimp -y

Install GIMP – Snapcraft Method

The second option is to install GIMP with Snap. The Snapcraft package manager should be installed on your Ubuntu desktop unless you have removed it previously.

For users that removed snapd, re-run the following command:

sudo apt install snapd -y

Once installed, you will need to restart your system, or else the icons may not appear; if you skip a repeat and notice any issues, reboot.

reboot

Snap installed? Skip the following few lines and proceed straight to the installation of GIMP with Snap

Next, some packages come in classic, so you need to create a symlink to enable classic snap support, so it is best to run this command for the best snap compatibility.

sudo ln -s /var/lib/snapd/snap /snap

Install the core files to avoid conflicting issues.

sudo snap install core

Next, enter the following snap command to install the GIMP.

sudo snap install gimp

Install GIMP – Flatpak Method

The third option is to use the Flatpak package manager, which by default is not installed on Ubuntu distributions, given Snap which is Flatpak’s rival, is owned by Canonical along with Ubuntu. However, Flatpak is still available to install from Ubuntu’s default repository.

The extra benefit of using Flatpak installations is that you will always have the most up-to-date version compared to Ubuntu which focuses on stability with older versions that only see updates for security issues or serve bugs.

First, install the Flatpak manager.

sudo apt install flatpak -y

For users installing Flatpak for the first time, it is often recommended to reboot your system. Failure to do this can occur with odd issues, such as paths not being generated for icons.

reboot

SKIP THE REBOOT IF FLATPAK IS INSTALLED.

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 installed, launching can be done in a few ways.

In your terminal type:

gimp

If you would like to launch GIMP and use the terminal, send it to the background:

gimp &

Snap users need to use the snap run <application> command.

sudo snap run gimp

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.

Activities > Show Applications > GNU Image Manipulation Program

Example:

How to Install GIMP on Ubuntu 22.04 LTS

Once you open GIMP, you will see the first default landing screen.

Example:

How to Install GIMP on Ubuntu 22.04 LTS

Congratulations, you have successfully installed GIMP.

How to Update/Upgrade GIMP

Updates should appear in notifications, but if these fail to show sometimes, it is recommended to check using the terminal regardless use one of the following commands to check for updates.

APT Method

sudo apt update

Flatpak Method

flatpak update

Snap Method

sudo snap refresh

How to Remove (Uninstall) GIMP

Use one of the following commands to suit the original installation method for users who no longer require the paint application.

APT Remove Method

sudo apt autoremove gimp --purge -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.

Lastly, users that installed GIMP from the PPA by Rob Savoury remove the PPA using the following command.

sudo add-apt-repository ppa:savoury1/gimp --remove -y

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 apt remove example command.

flatpak remove --unused

Snapcraft Remove Method

sudo snap remove gimp

Comments and Conclusion

In the tutorial, you have learned how to add the official GIMP application on Ubuntu 22.04 LTS Jammy Jellyfish using one of the three installation methods.

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.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!