GIMP - PNG files and GMIC unavailable

Also when OP tries to install libpng the command-line is unable to locate that pkg.

My guess is that it's one of those packages. I don't know which one, as this is way outside of my wheelhouse. My GIMP skills are zilch.

But, the libpng that they need might be one of those, as there is no 'libpng' file by that name.
 


My guess is that it's one of those packages. I don't know which one, as this is way outside of my wheelhouse. My GIMP skills are zilch.

But, the libpng that they need might be one of those, as there is no 'libpng' file by that name.
I booted into my Debian 12 installation where Gimp is also running well.
There's libpng-tools, libpng16 which is a runtime lib and a libpng interface to the portable network graphics library.

Code:
libpng-dev - PNG library - development (version 1.6)
libpng-tools - PNG library - tools (version 1.6)
libpng16-16 - PNG library - runtime (version 1.6)
libspng-dev - simple, modern libpng alternative - development
libspng-doc - simple, modern libpng alternative - documentation
libspng0 - simple, modern libpng alternative
libusbgx-dev - Development files for libusbgx
libpng++-dev - C++ interface to the PNG (Portable Network Graphics) library
png-definitive-guide - PNG: The Definitive Guide
libpng-sixlegs-java - Sixlegs Java PNG Decoder
libpng-sixlegs-java-doc - Documentation for Sixlegs Java PNG Decoder
libpnglite-dev - lightweight C library for loading and writing PNG images
libpnglite0 - lightweight C library for loading and writing PNG images
pngquant - PNG (Portable Network Graphics) image optimising utility
ruby-oily-png - native mixin to speed up ChunkyPNG
tkpng - PNG photo image support to Tcl/Tk

I've used Gimp for 9 years plus and never had the issue that OP is experiencing.

Earlier in the thread I told lymphor if it were my Ubuntu installation, I would remove all instances of Gimp along with all the config files as well. Then do a fresh install of Gimp.

I stay away from snap pkg's all together and use flatpaks only if I have to.
 
You may want to find out if those versions of Gimp are snap packages or flatpak package. These commands should help.

Code:
flatpak list | grep <app-name>

snap list <app-name>
flatpak list | grep gimp
Code:
Command 'flatpak' not found, but can be installed with:
sudo apt install flatpak

snap list gimp
Code:
Name  Version  Rev  Tracking       Publisher      Notes
gimp  2.10.34  405  latest/stable  snapcrafters✪  -

If you continue to have problems you could remove all versions of Gimp including all of the configurations files.
Then start with a fresh installation.
That's what I would do if this was my Ubuntu installation.:)
What is the best method you'd recommend to remove all versions of Gimp?
 
flatpak list | grep gimp
Code:
Command 'flatpak' not found, but can be installed with:
sudo apt install flatpak

snap list gimp
Code:
Name  Version  Rev  Tracking       Publisher      Notes
gimp  2.10.34  405  latest/stable  snapcrafters✪  -


What is the best method you'd recommend to remove all versions of Gimp?
Thanks for posting the results.

It's clear now that when Gimp was installed it was indeed a snap package on your system.

The best method of removing all versions of Gimp depends on how you installed them.

Did you use the command-line to install Gimp or the Snap Store?

OR> did you use your Synaptic Package Manager to install Gimp?
 
Did you use the command-line to install Gimp or the Snap Store?
I used "Ubuntu Software", I suppose it's the Snap Store.
I attached a picture of how it looks.
 

Attachments

  • Ubuntu_Software.png
    Ubuntu_Software.png
    291 KB · Views: 103
Last edited:
I used "Ubuntu Software", I suppose it's the Snap Store.
I attached a picture of how it looks.
You can remove Gimp using your Ubuntu Software if you want.
Just make sure that it completely removes both instances of Gimp and the configuration files in the root file system and in the hidden config file in your /home directory. Right click on your home directory and select "show hidden files". Then select the config file. Follow /config/GIMP/2.10/

For Gimp in the root directory see the screenshot attached.

IF the config's are still hanging around or any instance of Gimp deleting the gimp folder from the snap folder in the home directory should work. ;)
 

Attachments

  • Gimp Root.png
    Gimp Root.png
    208.1 KB · Views: 93
Booted up my Slackware today and I see where Pat Volkerding (maintainer of Slackware) included the upgrade to Gimp.
The new version was upgraded today!

Code:
The GIMP is a powerful tool for the preparation and manipulation of
# digital images. The GIMP provides the user with a wide variety of
# image manipulation, painting, processing, and rendering tools. The
# GIMP's open design and extensible architecture make for a very
# powerful end product for photo and image retouching, web graphics
# design, or digital illustration.
#
Executing install script for gimp-2.10.36-x86_64-1_slack15.0.txz.
Package gimp-2.10.36-x86_64-1_slack15.0.txz installed.
Package gimp-2.10.30-x86_64-2 upgraded with new package ./gimp-2.10.36-x86_64-1_slack15.0.txz.

My Debian 12 install and LMDE6 is still using 2.10.34 and running well.
 
You can remove Gimp using your Ubuntu Software if you want.
Just make sure that it completely removes both instances of Gimp and the configuration files in the root file system and in the hidden config file in your /home directory. Right click on your home directory and select "show hidden files". Then select the config file. Follow /config/GIMP/2.10/

For Gimp in the root directory see the screenshot attached.

IF the config's are still hanging around or any instance of Gimp deleting the gimp folder from the snap folder in the home directory should work. ;)
I removed both instances of GIMP from my PC using Ubuntu Software. Then I checked the folder /usr/bin/ (the one in your screenshot) and found no traces of any gimp file.
I'm not sure what I was supposed to do in the home folder: I have a directory /.config/GIMP/2.10/, am I supposed to delete its content?
Currently, if I want to open an image file with a specific program, I don't have GIMP among the options.
Thanks!
 
I removed both instances of GIMP from my PC using Ubuntu Software. Then I checked the folder /usr/bin/ (the one in your screenshot) and found no traces of any gimp file.
I'm not sure what I was supposed to do in the home folder: I have a directory /.config/GIMP/2.10/, am I supposed to delete its content?
Currently, if I want to open an image file with a specific program, I don't have GIMP among the options.
Thanks!
Good-:)

If you still have a .config/GIMP/2.10(version) then there are old config files of Gimp hanging around which is what you don't want.

1. Delete the gimp folder from the snap folder in the home directory. Then, let me know if you still have that .config/GIMP/2.10 in your home directory.

I looked in the Ubuntu 22.04 'Jammy' Repository and the version of Gimp that is available is version 2.10.30.

Is that the version (2.10.30) you want ?

*Here is the current version of Gimp (2.10.34) that is installed on my Debian 12 system and it's been very stable.


*The most current version of Gimp is 2.10.36 here:

Let me know what version you want to install:-
 
Using APT is a good choice IMO. I've had success with PPA's too.
It's up to you.

You can install the flatpak too but you'll have to enable the flathub repo first.
There are WARNINGS about the flatpak so read it first.

Giving you all the information I can. Hope this helps you with your decision.
 
Using APT is a good choice IMO. I've had success with PPA's too.
It's up to you.
To be honest I have no idea what to chose, I am not that expert in Linux.

You can install the flatpak too but you'll have to enable the flathub repo first.
There are WARNINGS about the flatpak so read it first.
From what I've read in other threads, flatpak is not a solution I would use.

Giving you all the information I can. Hope this helps you with your decision.
Thank you for your time and your patience!
And sorry for not replying so quickly, but I'm not having much free time lately.
Thanks!
 
It's still there.
It shouldn't be.

Open your terminal and run this command and post what the command line returns, when you can.
Code:
gimp --version

If it's the old version that gave you the problem to begin with (like I think it is) I'll show you how to remove it.
 
Last edited:
There's now an AppImage for GIMP but it's for v2.10.34. While on Slackware "current" the v2.10.36 could be had.

I went to AppImage Hub and to my surprise there was an AppImage for this program, but it's almost 200MiB.

 
I'm running Linux Mint 21.2 Victoria.
Installed GIMP from Package Manager.
Opened the first png file I tried. No problem.
Old Geezer.
PS Another + for LM!!!
 
Open your terminal and run this command and post what the command line returns, when you can.
Code:
gimp --version

Here it is:
Code:
Command 'gimp' not found, but can be installed with:
sudo snap install gimp  # version 2.10.34, or
sudo apt  install gimp  # version 2.10.30-1build1
See 'snap info gimp' for additional versions.
 
Here it is:
Code:
Command 'gimp' not found, but can be installed with:
sudo snap install gimp  # version 2.10.34, or
sudo apt  install gimp  # version 2.10.30-1build1
See 'snap info gimp' for additional versions.
Thanks!

1. Now, run this command and post the results please.;)
Code:
ls -ld ~/.[^.]*

2. Then run this command using your username and post the output as well.
Code:
cd /home/username/.config

3. Last command to run for now. Don't forget to type in your username.
Code:
ls -l /home/username/.config/GIMP

This way I'll be able to see what's in your hidden config Gimp directory and help you to delete that old config of Gimp and anything else that's still hanging around.
 
Last edited:
ls -ld ~/.[^.]*
Code:
drwxrwxrwx  3 ale ale   4096 ian  3  2018 /home/ale/.adobe
drwxrwxr-x  4 ale ale   4096 dec  2 14:41 /home/ale/.aMule
drwxrwxrwx  4 ale ale   4096 sep 10  2020 /home/ale/.audacity-data
drwxrwxrwx  4 ale ale   4096 sep 10  2020 /home/ale/.avidemux6
-rwxrwxrwx  1 ale ale  12327 dec  3 19:06 /home/ale/.bash_history
-rwxrwxrwx  1 ale ale    220 dec 26  2017 /home/ale/.bash_logout
-rwxrwxrwx  1 ale ale   3771 dec 26  2017 /home/ale/.bashrc
-rwxrwxrwx  1 ale ale    263 dec 30  2017 /home/ale/.bubnbros
drwx------ 63 ale ale   4096 nov 19 19:23 /home/ale/.cache
drwxrwxrwx  6 ale ale   4096 sep 10  2020 /home/ale/.clamtk
drwxrwxrwx  3 ale ale   4096 dec 26  2017 /home/ale/.compiz
drwx------ 60 ale ale   4096 nov 19 18:43 /home/ale/.config
drwxrwxrwx  3 ale ale   4096 dec 27  2017 /home/ale/.dbus
drwxrwxrwx  5 ale ale   4096 sep 10  2020 /home/ale/.dc++
drwxrwxrwx  2 ale ale   4096 sep 10  2020 /home/ale/.disk
-rwxrwxrwx  1 ale ale     43 dec 26  2017 /home/ale/.dmrc
drwxrwxrwx  5 ale ale   4096 sep 10  2020 /home/ale/.gconf
drwxrwxrwx 30 ale ale   4096 sep 10  2020 /home/ale/.gimp-2.8
-rwxrwxrwx  1 ale ale      0 ian  3  2019 /home/ale/.gksu.lock
drwxrwxrwx  3 ale ale   4096 dec 27  2017 /home/ale/.gnome
drwxrwxrwx  2 ale ale   4096 ian 21  2018 /home/ale/.gnome2
drwx------  3 ale ale   4096 nov 30 09:15 /home/ale/.gnupg
drwxrwxrwx  2 ale ale   4096 dec 28  2017 /home/ale/.gvfs
drwxr--r--  2 ale ale   4096 mai 28  2023 /home/ale/.hardinfo
-rwxrwxrwx  1 ale ale 103934 sep 10  2020 /home/ale/.ICEauthority
drwxrwxrwx  6 ale ale   4096 sep 10  2020 /home/ale/.imagej
-rwxrwxrwx  1 ale ale   1209 sep 10  2020 /home/ale/.isomaster
drwxrwxrwx  3 ale ale   4096 feb  5  2018 /home/ale/.java
drwxrwxrwx  3 ale ale   4096 ian  4  2018 /home/ale/.kde
drwxrwxrwx  8 ale ale   4096 dec 22  2018 /home/ale/.kodi
drwx------  3 ale ale   4096 sep 29  2020 /home/ale/.local
drwxrwxrwx  3 ale ale   4096 ian  3  2018 /home/ale/.macromedia
drwxrwxr-x  3 ale ale   4096 iul  9 00:00 /home/ale/.mame
drwx------  5 ale ale   4096 sep 29  2020 /home/ale/.mozilla
drwxrwxrwx  6 ale ale   4096 mar 10  2018 /home/ale/.openshot
drwxrwxrwx 12 ale ale   4096 sep 10  2020 /home/ale/.openshot_qt
drwx------  3 ale ale   4096 iul  1 20:06 /home/ale/.org.wfdownloader.app.WFDownloaderApp
-rwxrwxrwx  1 ale ale   2008 ian  3  2018 /home/ale/.packagesearch
-rwxrwxrwx  1 ale ale    261 nov 17  2018 /home/ale/.pam_environment
drwxrwxrwx  3 ale ale   4096 dec 26  2017 /home/ale/.pki
drwxrwxr-x 11 ale ale   4096 iul 16 05:14 /home/ale/.PlayOnLinux
-rwxrwxrwx  1 ale ale    655 dec 26  2017 /home/ale/.profile
drwxrwxrwx  7 ale ale   4096 sep 10  2020 /home/ale/.purple
drwxrwxrwx  3 ale ale   4096 ian  4  2018 /home/ale/.pyrenamer
drwx------  2 ale ale   4096 sep 29  2020 /home/ale/.ssh
-rwxrwxrwx  1 ale ale      0 dec 26  2017 /home/ale/.sudo_as_admin_successful
drwxrwxrwx  4 ale ale   4096 oct 20  2018 /home/ale/.thumbnails
drwxrwxrwx  6 ale ale   4096 sep 10  2020 /home/ale/.thunderbird
drwxrwxrwx  4 ale ale   4096 sep 10  2020 /home/ale/.tor-browser-en
-rwxrwxrwx  1 ale ale    225 ian 28  2018 /home/ale/.wget-hsts
-rwxrwxrwx  1 ale ale      2 feb  3  2018 /home/ale/.windows-serial
drwxrwxr-x  4 ale ale   4096 nov 11 16:01 /home/ale/.wine
-rwxrwxrwx  1 ale ale     50 sep 10  2020 /home/ale/.Xauthority
-rwxrwxrwx  1 ale ale    131 nov 17  2018 /home/ale/.xinputrc
-rwxrwxrwx  1 ale ale   3772 sep 10  2020 /home/ale/.xsession-errors
-rwxrwxrwx  1 ale ale   3772 sep 10  2020 /home/ale/.xsession-errors.old

cd /home/username/.config
Code:
~/.config$

ls -l /home/username/.config/GIMP
Code:
total 4
drwxr-xr-x 35 ale ale 4096 nov 13 19:35 2.10

Thanks!
 
Code:
drwxrwxrwx 30 ale ale 4096 sep 10 2020 /home/ale/.gimp-2.8
ls -l /home/username/.config/GIMP
Code:
total 4
drwxr-xr-x 35 ale ale 4096 nov 13 19:35 2.10
GIMP sure was sloppy in releases earlier than 2.10.

I don't know but I think you should run GIMP v2.8 if possible, then determine what needs to be preserved. Then back that configuration up from its directory (not the one in /home/username/.config) and then get rid of that directory. If not running GIMP v2.8 it's not needed any longer.

I'm saying that because pasting files meant for v2.8 to v2.10 could be disastrous, although it was expected that not that much was changed in the program.

Of course the Snaps version has to be the latest, to discourage people from using "dpkg/apt" and Synaptics Package Manager.
 

Members online


Latest posts

Top