Fedora Silverblue is very nice for development work. You can have separate toolbox containers for each toolchain and not worry about it messing with the host OS.
(Unless I'm working with Python. Then it'll find some way to install shit deep in ~/.local or whatever.)