@Juandev, would you like to try snap version of GIMP? This comes with all required dependencies built-in.
For snap package, the command is,
snap install gimp
The other format is flatpak which @joe has already pointed out. Have you tried it and didn't work? Hopefully, one of the two formats (snap or flatpak) should work fine for you.