|
|
Log in / Subscribe / Register

Recommendation for running an old program

Recommendation for running an old program

Posted Dec 12, 2025 22:41 UTC (Fri) by jmalcolm (subscriber, #8876)
In reply to: Recommendation for running an old program by jzb
Parent article: Mix and match Linux distributions with Distrobox

If gThumb 3.4.3 is old enough for you, Distrobox has your back.

distrobox create -n gthumbbox -i docker.io/ubuntu:16.04
distrobox enter gthumbbox
export GDK_BACKEND=x11
export CLUTTER_BACKEND=x11
sudo apt install gthumb
gthumb &

Keep in mind that running libraries from old distros like this may be a security concern. 16.04 LTS is still getting EMS updates though.

If you are behind a firewall and only running gthumb, it does not seem like big deal but some folks would disagree. One of the benefits of Distrobox is that you get to make that decision vs. Flatpak that will pull old runtimes even if you have apps that depend on them.

If you are ok with no security updates, you can try 14.04 as well. I was able to run gThumb 3.2.7 via the following:

distrobox create -n ggg -i docker.io/ubuntu:14.04 --pre-init-hooks "mv /usr/bin/apt /usr/bin/apt.back && touch /usr/bin/apt && chmod +x /usr/bin/apt"
distrobox enter ggg
sudo apt-get install gthumb
gthumb &

The --pre-init-hooks thing is required as otherwise Distrobox fails to setup the container as it tries to run apt and fails. You should "sudo mv -v /usr/bin/apt.back /usr/bin/apt" once you are in the container to put apt back.

Running very old Linux versions requires a bit more futzing around. Still, this shows the power of Distrobox. The version of gThumb above was compiled with GCC 4.8.4 against eglibc 2.19 and for x11. It ran flawlessly on my musl native, Wayland native Chimera Linux install via Distrobox. I love it.


to post comments

Recommendation for running an old program

Posted Dec 13, 2025 1:47 UTC (Sat) by abatters (✭ supporter ✭, #6932) [Link] (2 responses)

Yes, gthumb 3.2.7 is the version I like, although even with that version I have to apply a few of my own patches to revert some changes that were already annoying me. Thanks for all the info. Looks like I have several options to try.

Recommendation for running an old program

Posted Dec 13, 2025 3:14 UTC (Sat) by abatters (✭ supporter ✭, #6932) [Link] (1 responses)

I got it working. Compiled from source with a few tweaks on distrobox Ubuntu 20.04. Amazingly easy, given that I already did all the work to get it working on Ubuntu 20.04 previously. Thanks for all the suggestions!

Recommendation for running an old program

Posted Dec 14, 2025 23:47 UTC (Sun) by jmalcolm (subscriber, #8876) [Link]

This is really the best solution. I am glad you got it working so easily.

I love that you can use old distros though. That would allow running a tool that no longer builds easily with modern toolchains or even binaries for which you do not have source code.

The latter case may even be for something recent. For example, I may have a proprietary binary for RHEL. With Distrobox, I can run that anywhere without weird bugs from using the wrong libraries.

Welcome to the Distrobox club. I think you are going to love it.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds