Gimp-Forum.net
resynthesizer gimp-python Linux ubuntu 20.04 all files to install - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: resynthesizer gimp-python Linux ubuntu 20.04 all files to install (/Thread-resynthesizer-gimp-python-Linux-ubuntu-20-04-all-files-to-install)



resynthesizer gimp-python Linux ubuntu 20.04 all files to install - PixLab - 06-08-2022

I write this because today I almost got stuck installing the Resynthesizer plugin, and its dependencies so if it can help some one to not run across internet for a while....
Using my wife's laptop for few days now (GIMP 2.10.30 PPA from Panda Jim, Ubuntu-MATE 20.04.4 LTS just updated her laptop system yesterday after a year without update)
... and I saw that I did not have the resynthesizer plugin in GIMP, heal selection, heal transparency...

So I downloaded linux-resynth-2.03.zip from @rich2005 (thank you so much Rich) there ➤ https://www.gimp-forum.net/Thread-Gimp-2-10-Resynthesizer-Linux?pid=11261#pid11261
Did not work.... yet, nothing in the menu. You can let everything in the GIMP's plugin directory (no worries it will work, later  Big Grin ).

I did check "Python -V" Python 2.7.18 was there, so it's not python2
So trying to install gimp-python...
Code:
sudo apt install gimp-python
But Ubuntu removed it from the apt list, no more, nada, finish  Angry
I did found this discussion https://discuss.pixls.us/t/gimp-python-not-available-in-ubuntu-20-04/17769/21 but the links got a 404 error
Looks like Ubuntu get some pleasure to make it difficult for us... Dodgy

Finally after some searches, I did found what's missing.
I downloaded from ➤ http://old-releases.ubuntu.com/ubuntu/pool/universe/p/pygtk/ near the bottom python-gtk2_2.24.0-6_amd64.deb
and the gimp-python from debian ➤ https://packages.debian.org/buster/amd64/gimp-python/download

Once you've downloaded all and BEFORE installing any thing ➤ You do need to install first
Code:
sudo apt install python python-cairo python-gobject-2
Then in that order Or with GDebi
Code:
cd Downloads
sudo dpkg -i python-gtk2_2.24.0-6_amd64.deb
and only then you can now install gimp-python (or with GDebi)
Code:
sudo dpkg -i gimp-python_2.10.8-2_amd64.deb

Then I opened GIMP and resynthesizer (that I left in the plugin directory) was finally there and working just fine on my test photo.
Tongue  Big Grin


RE: resynthesizer gimp-python Linux ubuntu 20.04 all files to install - rich2005 - 06-08-2022

More generally it is a "missing python" issue as described here: https://www.gimp-forum.net/Thread-Heal-Selection-Missing-from-Gimp-on-Ubuntu-20-04?pid=18354#pid18354

For anyone who does not want to go that route:

Top of that post, I added a comment that using Tas_mania's little appimage https://www.gimp-forum.net/Thread-Python2-Gimp-AppImages-for-Ubuntu-Jammy-and-Focal is an easy way to get gimp-python running. While this is very 'buntu centric, and other disto users might have to resort to a flatpak, worth bearing in mind.


RE: resynthesizer gimp-python Linux ubuntu 20.04 all files to install - Tas_mania - 08-03-2022

I put the python2 appimages (gimp launchers) here:
https://github.com/TasMania17/Gimp-Appimages-Made-From-Debs/releases

They require Gimp installed by apt.


RE: resynthesizer gimp-python Linux ubuntu 20.04 all files to install - PixLab - 08-04-2022

(08-03-2022, 10:59 AM)Tas_mania Wrote: I put the python2 appimages (gimp launchers) here:
https://github.com/TasMania17/Gimp-Appimages-Made-From-Debs/releases

They require Gimp installed by apt.

I strongly recommend Tas_mania wonderful appimage to get python working instantaneously out of the box with GIMP without the burden of installing many things like in my first post, once you try it you will never look back [Image: thumbsup.png]
Thank you so much Tas_mania for this jewel