this post was submitted on 10 Jan 2024
22 points (92.3% liked)

Linux

48215 readers
829 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 10 months ago* (last edited 10 months ago) (5 children)

I will simply list a couple of the images^[1]^ I've used over time and provide some personal insights (in alphabetical order):

  • Alpine; when I'm restricted in bandwidth and/or disk space. FWIW, apk is even faster than whatever is found on Arch.
  • Arch; if I just need a certain package and can't be bothered to look up if it's available on any of the others. Yup, the AUR strikes yet again. Furthermore, if I'm troubleshooting and I find myself on the ArchWiki, then in order to prevent edge cases from happening and thus the provided solutions to not work on the non-Arch distrobox; I rely on the Arch distrobox. It doesn't hurt that 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.
  • Bazzite-Arch; my go-to for gaming.
  • Fedora; as I'm already on Fedora Atomic, relying on Fedora distroboxes makes the most sense security-wise. Fedora is also known to take security very seriously themselves, so in general this is just very pleasant to rely on for security reasons. The only reason why one should not rely on Fedora for security reasons would be if they're already on something from openSUSE (like Aeon/Kalpa/Tumbleweed etc). In that case, going for an openSUSE distrobox makes more sense for security. Furthermore, if the package I need is one that's widely accessible, then I also rely on Fedora distroboxes. Lastly, currently, my development environments are all Fedora distroboxes. I might eventually change these to Wolfi distroboxes or simply rely on Nix, but that's still WIP for me.
  • Ubuntu; I've had to rely on these a couple of times to use software that's known to target Ubuntu. Most recently it was with Matlab IIRC.
  • Wolfi; For the security-conscious, this is probably the best choice. Unfortunately, I've only experimented with it so far without too much success. Thankfully, the Bluefin project has made some good use out of it. So I'll try to emulate their ways in the near future.

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


  1. The images will be the toolbox ones if available.
[–] [email protected] 2 points 10 months ago (1 children)

Thc for sharing your experience!

[–] [email protected] 2 points 10 months ago

It has been my pleasure 😊!

load more comments (3 replies)