Our great sponsors
-
distrobox
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I started down that route as well but was running into the same gcc issues as when compiling manually. I found this issue https://github.com/pyenv/pyenv/issues/2046 but the workaround didn't immediately work for me and I didn't dig any deeper.
> What makes a GUI app worth containerizing and CLI tools not worth containerizing?
I can't reply any deeper so responding here. Agree 100%, and podman/docker already exist.
The way I do it is to use [Distrobox](https://github.com/89luca89/distrobox) to use whatever distro's userspace has the thing I need (I use either the newer devel version of ubuntu or alpine), so if I need a newer version of a CLI tool I can get that without conflating it with the OS layer. It's a similar workflow to how OSX and Windows WSL do it.
So I'm just using the normal debian packages for everything, except it's in a nice split out container just for my userspace with access to all my data. This is the workflow from Fedora Silverblue, openSUSE's MicroOS and EndlessOS, which kind of forces you into the cloud native mindset, but you can run any distro this way.