How to Install GIMP on Ubuntu 22.04 or 20.04

GIMP, also known as GNU Image Manipulation Program, is a widely used and highly versatile image editing software that can be integrated into your Ubuntu desktop. This powerful software can be used for a variety of tasks, including photo editing, graphic design, and creating digital art. It offers many features that can bring many benefits to your workflow, such as the ability to enhance and manipulate images, create custom graphics, and save money on expensive alternatives. Incorporating GIMP into your Ubuntu desktop is a great way to take your image editing skills to the next level.

Some of the key features of GIMP include:

  • Advanced image editings tools such as brushes, filters, and color correction
  • Layers, channels, and masks for advanced image manipulation
  • Support for multiple file formats, including JPEG, PNG, and TIFF
  • Scripting capabilities with support for languages such as Python and Perl
  • Support for various input devices such as tablets and graphics tablets
  • Ability to create animations
  • Additional functionality through the use of plug-ins and extensions
  • Support for high-resolution images and batch processing
  • Multi-language support
  • Free and open-source software

Overall, GIMP is a powerful and feature-rich image editing software that can help you take your editing skills to the next level. Its compatibility with Ubuntu and its range of features make it an excellent choice for anyone looking to enhance their image editing capabilities. The following guide will go over how to install GIMP on Ubuntu 22.04 Jammy Jellyfish or Ubuntu 20.04 Focal Fossa using a few different methods with the command line terminal.

Step 1: Update Ubuntu

Ensure your system is up to date before proceeding with the installation to avoid any issues.

sudo apt update

The command below can display the available updates for those who wish to review or want to know what updates are available.

apt list --upgradable

Use the command provided to update any currently outdated packages on your system.

sudo apt upgrade

Method 1: Install GIMP – APT Default Method

The easiest and most secure way to install GIMP is through the apt package manager and the Ubuntu repository. This method does not require adding additional repositories, making it simple. Moreover, it is considered a safer method as it does not risk breaking the functionality of your system, unlike using third-party repositories like Launchpad PPAs.

To install GIMP, enter the command below in the terminal.

sudo apt install gimp -y

Method 2: Install GIMP – APT with LaunchPAD PPA

Another method to install GIMP is through the use of a Launchpad PPA. PPAs (Personal Package Archives) is a way to distribute software that is not available in the official repositories. To use a PPA for GIMP, you will first need to add the PPA to your system and then install GIMP from there. The PPA can be added by entering the following commands in the terminal.

To begin, install the necessary packages listed below.

sudo apt install dirmngr ca-certificates software-properties-common apt-transport-https -y

If you have not imported a GPG key from the Ubuntu keyserver before, you may face problems importing GPG keys from Launchpad PPAs via the command line terminal. This usually happens because the needed directories have not been created. But don’t worry; it’s easy to fix. Use the command below to make the required directories.

sudo gpg --list-keys

Example output:

gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created

While this step is not mandatory, if you face any issues, you can run the command above and then try the operation that caused the problem again.

See also
How to Update Packages on Ubuntu Command Line

Use the command below to import the GPG key required for all the repositories.

sudo gpg --no-default-keyring --keyring /usr/share/keyrings/rob-savoury.gpg --keyserver --recv-keys E996735927E427A733BB653E374C7797FB006459

Example output:

gpg: keybox '/usr/share/keyrings/rob-savoury.gpg' created
gpg: key 374C7797FB006459: public key "Launchpad PPA for Rob Savoury" imported
gpg: Total number processed: 1
gpg:               imported: 1

It is important to be aware that importing the GIMP PPA by Rob Savoury may involve changing and upgrading multiple system packages. These modifications cannot be easily reversed, so creating a backup of your system is crucial before proceeding with the installation. With this in mind, you can now import the GIMP PPA by Rob Savoury.

Ensure you import the appropriate repository corresponding to your Ubuntu distribution.

echo "deb [signed-by=/usr/share/keyrings/rob-savoury.gpg] $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/gimp-rob-savoury.list

You may also need to import the latest versions of FFmpeg as Rob builds his PPA with newer versions that may not be present or updated on Ubuntu LTS versions. As previously mentioned, these packages may heavily modify your system, but it is usually for the better. However, it is important to note that these updates may bring instabilities, especially with third-party software. Therefore, it is highly recommended to have created a backup before proceeding.

To import the PPA, enter the following command in the terminal.

echo "deb [signed-by=/usr/share/keyrings/rob-savoury.gpg] $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/ffmpeg-4-rob-savoury.list

After importing the desired repository, execute an APT update to reflect the recently added PPAs.

sudo apt update

Performing a quick system upgrade is recommended before proceeding with the installation, as multiple dependencies need to be updated.

sudo apt upgrade

You can now use the APT package manager to install GIMP using the PPA version.

sudo apt install gimp -y

Method 3: Install GIMP with Flatpak

Another option for installing GIMP on Ubuntu is using the Flatpak package manager. Unlike Snap, this package manager is not pre-installed on Ubuntu but can still be installed.

Install Flatpak using the following command.

sudo apt install flatpak -y

If you are reinstalling the Flatpak package manager, it is recommended to reboot your system. Failure to do so may lead to problems such as missing icon paths.



The next step is to activate the Flatpak package manager by entering the following command in the terminal.

sudo flatpak remote-add --if-not-exists flathub

To install GIMP, use the command below in the terminal with the flatpak package manager.

flatpak install flathub org.gimp.GIMP -y

Troubleshoot GIMP Flatpak Installation

When installing a Flatpak from Flathub, a common error message that may appear is the following error.

"error: Unable to load summary from remote flathub: Can't fetch summary from disabled remote 'flathub,"

The solution is straightforward; you can fix this by executing the command below to activate Flathub.

flatpak remote-modify --enable flathub

This will solve the issue mentioned above. Another problem that may occur is access to system files. The command below is suggested if you are experiencing problems accessing files during installation; you can use the override command below.

sudo flatpak override flathub org.gimp.GIMP --filesystem=host

It’s important to remember that this command should not be used as a default option unless necessary.

How to Launch GIMP Application

With GIMP now installed, there are several ways to open the application. One of the options is to launch it directly from an active terminal window by entering the following command.


Finally, those who have installed GIMP using Flatpak can open the application from the terminal by entering the following command.

flatpak run org.gimp.GIMP

Although this method works, it may not be convenient. A typical way is to launch the application by clicking on the GIMP icon in the following location on the desktop.

See also
How to Install Microsoft Fonts on Ubuntu 22.04 or 20.04

Activities > Show Applications > GNU Image Manipulation Program


When you open GIMP, you will be presented with the default start screen. This screen provides several options to begin working on your project, including creating a new image, opening an existing file, or accessing recently used files. You can also access tutorials and documentation from this screen. The menu and toolbar also provide access to various tools and options available in GIMP. It’s a good idea to familiarize yourself with the interface and the available tools before starting your project.


gimp successfully installed on ubuntu 22.04 or 20.04 linuxPin

Congratulations, you have completed the installation of GIMP.

Additional Commands & Tips

How to Update GIMP

If updates for GIMP do not appear in notifications, it is recommended to check for them manually using terminal commands. To check for updates, use the commands provided regardless of whether update notifications are present or not.

If you installed GIMP using the APT package manager, use the following command to check for updates.

sudo apt update

To update GIMP if it was installed using Flatpak, use the following command.

flatpak update

How to Remove (Uninstall) GIMP

Use one of the commands below, depending on the original installation method, to uninstall the paint application for users who no longer need it.

To remove the GIMP installation using APT, use the following command.

sudo apt autoremove gimp --purge -y

To remove GIMP installation using Flatpak, use the following command.

flatpak remove  --delete-data org.gimp.GIMP -y

Similar to the apt autoremove command used in the example of apt remove, it is recommended to run the following command to clean up any remaining files.

flatpak remove --unused


GIMP is a versatile and powerful image editing software that can be easily installed on Ubuntu through various methods. As an open-source software, it is free to use and customizable to meet individual needs. GIMP offers a wide range of features and tools for editing and improving images and supports a variety of file formats. It is a popular choice among both professionals and amateurs, as it provides a cost-effective solution for image editing on Ubuntu.

For more information on GNU Image Manipulation Program, visit the official documentation.

Leave a Comment

Share to...