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
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.
