Install G’MIC Plugin for GIMP 3.0.x in Ubuntu

Last updated: April 9, 2025 — 6 Comments

This is step by step guide shows how to install the G’MIC plugin for GIMP 3.0 series in Ubuntu 22.04, Ubuntu 24.04, Ubuntu 24.10, and higher.

GREYC’s Magic for Image Computing, G’MIC short, is a popular free open-source image processing software. It can work as plugin for GIMP, Krita, Photoshop, etc. with more than 600 filters to alter the appearance of an image.

G’MIC for GIMP 3.0

G’MIC updated its GIMP-3 plugin for Ubuntu 25.04 support few days ago, which also works in my case in Ubuntu 24.04 and Ubuntu 24.10. While, Ubuntu 22.04 users may build the package from the source tarball.

This tutorial is tested and works in Ubuntu with G’MIC 3.5.3/3.5.4 and:

  • GIMP 3.0.x Deb from PPA.
  • GIMP 3.0.x official AppImage.

For the Flatpak package, it output error while loading shared libraries: libjpeg.so.8 error which is possibly due to sandbox environment.

Option 1: Install G’MIC-Qt Plugin via official .zip Archive

The official plugin so far is marked for Ubuntu 25.04, though it also works in my case in Ubuntu 24.04/24.10.

1. First, go to G’MIC website and select download the GIMP 3.0 plugin for Ubuntu 25.04.

2. After downloaded the archive, do:

  • open your Downloads folder, and extract the .zip archive you just downloaded.
  • navigate to the extracted folder, then copy gmic_gimp_qt sub-folder.
  • navigate to Home -> .config (press Ctrl+H to view/hide) -> GIMP -> 3.0 -> plug-ins. Finally, paste the gmic_gimp_qt into that directory.

NOTE 1: the .config/GIMP/3.0/plug-ins directory does not exist until you launch GIMP 3.0 for the first time.
NOTE 2: GIMP plugins must be placed under sub-folders, and the sub-folder name and plugin executable filename must be same. In the case, the ‘gmic_gimp_qt’ sub-folder contains a ‘gmic_gimp_qt’ executable file.

3. Install dependency libraries.

The current 3.5.3 and 3.5.4 were built with Qt5. You need to install some run-time libraries for it to work.

To do so, press Ctrl+Alt+T to open up a terminal window and run command:

sudo apt install libfftw3-double3 libqt5core5t64 libqt5gui5t64 libqt5network5t64 libqt5widgets5t64

NOTE: for GIMP 3 AppImage, you also need to install “libgimp-3.0-0” package, either from Ubuntu repository (25.04) or 3rd-party PPA (e.g., my PPA).

4. Finally, re-launch the GIMP image editor. If everything’s goes well, you should see the “G’MIC-Qt…” option under Filters menu. And, it’s grayed out until you open/create an image.

If NOT, try going to “Edit -> Preferences -> Folders -> Plug-ins”, then make sure it includes the plugin directory mentioned above.

5. workaround for the plugin crash.

When launching the plugin from GIMP menu, it may pop-up a crash dialog as the screenshot below shows you.

By launching GIMP 3.0 from terminal and then launch G’MIC, it will output something look like:

qt.qpa.xcb: could not connect to display wayland-0
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.

This is something to do with Qt platform environment. To workaround the issue:

  • First, install qtwayland5 library:
    sudo apt install qtwayland5
  • Then, try launching GIMP 3 via:
    QT_QPA_PLATFORM=wayland gimp-3.0

    For AppImage, replace gimp-3.0 in last command by drag’n’dropping the AppImage package into terminal.

If it works, then make it permanent by editing the desktop entry (for GIMP PPA package only):

sudo nano /usr/share/applications/gimp.desktop

Then the replace “Exec” line with Exec=env QT_QPA_PLATFORM=wayland gimp-3.0 %U and save.

NOTE: The change will be overridden by GIMP package updates. Without editing it again and again, you may copy the file content to gimp.desktop file (create manually) under Home/.local/share/applications directory.

Option 2: Manually build the G’MIC plugin

For Ubuntu 22.04, the official .zip archive so far does NOT work. You need to build from the source tarball by yourself, which also works in Ubuntu 24.04 and higher.

1. First, press Ctrl+Alt+T to open up a terminal window. When it opens to add my GIMP 3 PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/gimp-3

This PPA is required for the libgimp-3.0-dev dependency library. For Linux Mint, you also need to run sudo apt update to refresh cache afterward.

2. Next, run command to install all the dependency libraries for building the G’MIC source:

sudo apt install git wget build-essential libgimp-3.0-dev libcurl4-openssl-dev libgexiv2-dev libfftw3-dev libtiff-dev libjpeg-dev libopenexr-dev libwebp-dev qtbase5-dev qttools5-dev-tools

3. Next, run command to download the source tarball, extract, and navigate to the source folder:

wget https://gmic.eu/files/source/gmic_3.5.3.tar.gz && tar zxvf gmic_3.5.3.tar.gz && cd gmic-3.5.3/src

As time goes on, it will roll out new releases. In the case, you need to replace the version number accordingly! Or, go to G’MIC website for the updated guide.

4. Finally, run command to build G’MIC plugin for GIMP:

make gimp

5. Depends on your computer, the last command may take quite a few minutes. If done successfully, you’ll see the new gmic_gimp_qt executable file under gmic_qt sub-folder of the source folder (gmic-3.5.3 in the case).

Next, just navigate to Home -> .config -> GIMP -> 3.0 -> plug-ins, create a sub-folder called gmic_gimp_qt, then copy & paste the executable file gmic_gimp_qt to that directory. For more, see step 4 & 5 in Option 1.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

6 responses to Install G’MIC Plugin for GIMP 3.0.x in Ubuntu

  1. hi, I’m getting error
    “`
    gmic_gimp_qt: error while loading shared libraries: libgimp-2.0.so.0: cannot open shared object file: No such file or directory
    “`
    do you know what is the cause?

    • It said it can’t find GIMP 2.x libraries, while this tutorial is made for GIMP 3. Make sure you installed the GIMP 3.0 version of that plugin. And for AppImage, you need to install the libgimp-3.0-0 library from PPA:

      sudo apt install libgimp-3.0-0
  2. Unfortunately, when I enter the make command:

    Project ERROR: gimp-3.0 development package not found
    make: *** [Makefile:611: gimp] Error 3

    All mentioned packages installed OK, per your instructions, no errors.
    Ubuntu 22.04
    Thanks a lot for any tips. And thanks a lot for this very desired how-to !!!

    • install libgimp-3.0-dev (need PPA) and libexiv2-dev package fixed the issue in my case.

      sudo apt install libgimp-3.0-dev libgexiv2-dev
  3. Thank you so much for your prompt reply.

    While I already had both packages installed, I did manage to resolve my problem. I think my case is going to be useful to others, therefore I would like to share it here.

    Initially, when I installed your PPA and run sudo apt update, my system would be upgrading my gimp 2.10 to gimp 3 because that’s in your PPA, obviously. However, I want to keep (for now) my gimp 2.10 installation, and use an AppImage for gimp 3. So, I simply “pinned” libgimp-3.0-dev from your PPA, by creating a file in /etc/apt/preferences.d/ that would lower priority for all the packages of your PPA except libgimp-3.0-dev, based on this bit of your how-to:

    “This PPA is required for the libgimp-3.0-dev dependency library”

    Interpreting that sentence too literally was my mistake. When I ran make, I got the error Project ERROR: gimp-3.0 development package not found
    make: *** [Makefile:611: gimp] Error 3

    How did I fix it:

    I fixed it by modifying the file I had created in /etc/apt/preferences.d/, so now it would allow not only libgimp-3.0-dev, but also gegl and libgabl* packages.
    For reference, this is the contents of my file in /etc/apt/preferences.d/:

    Explanation: Pinning settings for PPA ubuntuhandbook1-gimp-3
    Explanation: This PPA has gimp-3 and related packages. We only want to
    Explanation: install the libgimp-3.0-dev and other dev packages which are
    Explanation: dependency libraries for building the G'MIC plugin for GIMP3,
    Explanation: but we don't want to install gimp-3 (for now). Therefore:
    Explanation: The first clause is to disallow ALL packages from this PPA:
    Package: *
    Pin: release o=LP-PPA-ubuntuhandbook1-gimp-3
    Pin-Priority: 10

    Explanation: Second clause partly overrides the first one by giving some
    Explanation: packages the same priority (500, default) as other packages
    Explanation: so that they're installed if higher version:
    Package: libgimp-3.0-dev libbabl* gegl *gegl*
    Pin: release o=LP-PPA-ubuntuhandbook1-gimp-3
    Pin-Priority: 500

    I just saved that file as /etc/apt/preferences.d/ubuntuhandbook1-ubuntu-gimp-3-jammy_pin-rules

    NOTE: For those who are not familiar with “pinning” packages, please have a look to e.g.:
    https://askubuntu.com/questions/170235/how-do-i-cherry-pick-packages-from-a-ppa

    After I saved the file, just run sudo apt update, then apt list –upgradable, and now I saw the files that needed to be upgraded, i.e. those files from this PPA:

    $ apt list -u
    Listing... Done
    gegl/jammy 1:0.4.58-0build1~ubuntu2204 amd64 [upgradable from: 1:0.4.48-0build2~ubuntu2204]
    gir1.2-gegl-0.4/jammy 1:0.4.58-0build1~ubuntu2204 amd64 [upgradable from: 1:0.4.48-0build2~ubuntu2204]
    libbabl-0.1-0/jammy 1:0.1.112-0build1~ubuntu2204 amd64 [upgradable from: 1:0.1.108-0build1~jammy]
    libbabl-dev/jammy 1:0.1.112-0build1~ubuntu2204 amd64 [upgradable from: 1:0.1.108-0build1~jammy]
    libgegl-0.4-0t64/jammy 1:0.4.58-0build1~ubuntu2204 amd64 [upgradable from: 1:0.4.48-0build2~ubuntu2204]
    libgegl-common/jammy,jammy 1:0.4.58-0build1~ubuntu2204 all [upgradable from: 1:0.4.48-0build2~ubuntu2204]
    libgegl-dev/jammy 1:0.4.58-0build1~ubuntu2204 amd64 [upgradable from: 1:0.4.48-0build2~ubuntu2204]

    Now I had only to do: sudo apt upgrade
    and finally: make gimp

    And that was it. All compiled well.

    I hope this helps others.

    Thank you so much @Ji m for all your excellent work!

    • Didn’t realize that old versions of babl and gegl libraries can cause the issue. Thanks for the comment and glad to know it worked finally!

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*