this post was submitted on 05 Sep 2024
43 points (95.7% liked)

Linux

48622 readers
1412 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
 

So you may have heard of the install gentoo meme, when I looked the guidebook I thought it looked a little complex like with Arch.

Does Gentoo have something special that other distros do not? Apparently you can use the USE FLAGS to determine what stuff you want and it's meant to be even more lean on resources.

Isn't there a Gentoo installer like with Arch? With Arch I can confidently just run the installer on a VM but I got stuck with Gentoo

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 3 months ago

Different person, but I'll try to explain some of what I know.

Traditional Linux:

  • read/write root and usr
  • only one version of a program can exist*
  • packages are available immediately after install
  • packages are imperative (you tell it what to do, it does that)
  • files swapped in place (can lead to issues like kernel modules missing or Firefox not opening new tabs until restart)

*you might have python3.8 and python3.9, but those must be created as different packages using different paths in /usr

NixOS, Guix:

  • declarative package management (basically config file and exactly these packages are installed)
  • usr and parts of root read-only (afaik)
  • packages symlinked to usr
  • multiple versions of packages kept locally (though not all active necessarily)
  • will keep using old package until restart/reboot, therefore not breaking on updates. New instances of a program can use the new package
  • easy to roll back due to multiple versions kept

Immutable OS (haven't seen one mentioned by OP, but it's a category):

  • often imperative package management
  • using snapshots or multiple root partitions for easy rollbacks
  • read-only root and usr
  • packages might only be available after a reboot (depends on implementation and if system packages or something else like Flatpak, which doesn't need a reboot, are used)

SerpentOS:

  • experimental distro (ie stuff might change)
  • imperative package manager
  • packages installed to separate tree, but swapped live. Basically A/B root of an Immutable system that doesn't require a reboot (according to the explaination in the latest blog post)

Not sure why ClearLinux is on that list of special distros and I don't know half of the rest so yeah. Hope this explains some of it?