Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
resynthesizer gimp-python Linux ubuntu 20.04 all files to install
#1
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...1#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-n...4/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/po...e/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...n/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
Reply
#2
More generally it is a "missing python" issue as described here: https://www.gimp-forum.net/Thread-Heal-S...4#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-Python...-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.
Reply
#3
I put the python2 appimages (gimp launchers) here:
https://github.com/TasMania17/Gimp-Appim...s/releases

They require Gimp installed by apt.
Reply
#4
(08-03-2022, 10:59 AM)Tas_mania Wrote: I put the python2 appimages (gimp launchers) here:
https://github.com/TasMania17/Gimp-Appim...s/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
Reply


Forum Jump: