The first obvious answer may be the one you are comfortable with but that may be none for a new computer/ linux user.
The one where those package are available. Or even multiple ones.
With atomic (immutable) distros this question will arise more often as the question of which image becomes more important than which distro to chose.
I use dnf but I could also use apt or pacman. What are the relevant advantages of the package managers? What’s the reason to use apt over dnf? Nix? Simply package availability?
I will simply list a couple of the images[1] I’ve used over time and provide some personal insights (in alphabetical order):
apk
is even faster than whatever is found on Arch.pacman
(or any of the AUR helpers) are blazing fast. However, if I intend to rely on said AUR packages over longer periods of time, then I often do look for an alternative distrobox to grab the package from instead. While the AUR is excellent for the amount of packages it has, the security standards aren’t the best. Thus, if you’re security-conscious, then it’s better to rely on AUR packages sparingly, unless you’re willing to get into the nitty gritty and check how they’re built, how the package is maintained and if its maintainer(s) is reliable.Notable mention goes out to Davincibox. Unfortunately my laptop doesn’t have a dedicated GPU, so I can’t make use of it. But it’s something I’m keeping my eyes on.
NixOS is not a supported container distro, but I do have Nix installed through The Determinate Nix Installer. It’s somewhat underutilized currently, though 😅.
Thc for sharing your experience!
It has been my pleasure 😊!