this post was submitted on 30 Oct 2023
94 points (92.7% liked)
Linux
48077 readers
1166 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I wouldn't worry too much about the package manager, just worry about whether the distro has a good package repository. If it has all the software you want to use, then use it. In my opinion, most package managers (dnf, apt, pacman, xbmp) are basically the same, and you would only notice a big difference if you ever tried to make your own package for your own software.
That said, a few package managers are very different from all the rest:
prt-get
": simple and stupid: just downloads and installs tar archives.emerge
": builds all software from source code when you install it. This provides some guarantees that the source code was not tampered with by the distro maintainers, this is great if you need to review all of the source code that is running on your system, but terrible for most people who don't want to spend so much computing power on compiling stuff every time you do a software update.My personal preference: I use ordinary Debian or Ubuntu to install the critical software that needs to be stable and reliable, and I use Guix OS on the side to install the bleeding-edge things that might break a lot.
I couldn't disagree more! Package managers are actually the only thing which differentiates distributions by a large margin. Syntax should be intuitive, download/updates fast and reliable. Also when watching git repositories for new software alternatives, you e.g. see often packages for good package managers, whereas you need to go some extra mile for "stable" package managers.
But I would say these are not features of the package manager software, rather they are features of the package repository, that is, the online service that provides the packages. It doesn't matter if you use Apt, DNF, Pacman, if the package repo is slow, fully of packages that haven't been built right, the package manager software won't do much to make it better.
But like I said, a few package manager are really unique, like Gentoo Emerge, Crux Prt-Get, and Nix and Guix.
Can you decouple a package manager from its repository like that? And even if, is that a real world example?
Yes.
Ubuntu and debian both use apt, but differing repos. Different versions of ubuntu/debian use different repos, with newer/older software.
Ubuntu and Debian differences...don't see your point here. Nobody in Arch uses apt? Nobody on ubuntu uses pacman. If you use pacman you are using Arch repositories.
Incorrect. There is manjaro, but there also is msys2, a windows program with the goal of making linux tools available on windows by recompiling all of them. That's very far from the arch philosophy and repos.
And ubuntu and debian have massively different repositories. One of them gives you the actual firefox package, and the other installs firefox via a closed source backend, app store called snap, when you attempt to install firefox using apt.
And then there is also the version differences, like debian stable is going to have much older software than ubuntu.
Thanks for pulling corner cases from dark places... not sure if we misunderstand but my point was as written, you use the package manager/repository which ships with your distro. So the original quote was:
Also, bit part of Portage (Gentoo "emerge") is being able to 'flag out' parts of the package out (or in) to the compilation.
Let's say you want to not have telemetry in your packages. So you set '-telemetry' globally, and each package that has known telemetry parts will not compile locally - so it can not be turned on (unless it's hidden really well).
Or you want to use pulseaudio? You can flag it globally, or for specific packages. That way you can influence software you install without knowing much about anything build-related - the work is done by the repository maintainers.
They won't be able to pry Gentoo from my cold dead hands. Arch, Nix/Guix can suck it, all my money goes to the Gentoo
From what I've heard compiling locally also allows for hardware optimizations specific to your system, though that may be false, as I've never used gentoo.
Sure, but such optimizations won't usually matter a lot. I have no hard data on that, but would still prefer having smaller binaries from removing unnecessary BS to having CPU optimizations.
Fortunately I got both ^^ And the system feels a lot more responsive to Ubuntu, but I never ran any benchmarks to prove that.
Yeah the smaller binaries is a big part too. I bet it feels like having your system hand-crafted just for you
It does. Unfortunately I don't spend as much time on my PC lately.
Also I still use binary blobs like Steam.