Is there anything like 'virtualenv' for Linux package managers, rather than python packages?
Pip's cut searches, so it seems better to use a package manager, but then the virtual environments wouldn't work.
@malin @yisraeldov alternatively you can install nix in your existing GNU/Linux installation, you won't get to manage kernel though but everything else you can. This is how I started with nix, using it alongside on Debian. For more details, https://nixos.org/manual/nix/stable/#chap-quick-start
@malin Gnu Guix has "guix environment"; not sure if that meets your requirements?
Linux geeks doing what Linux geeks do...