this post was submitted on 24 Aug 2023
473 points (97.0% liked)
Linux
48008 readers
886 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
Gentoo probably doesn't have all packages. One of the reasons I love Arch is because it almost always has any package in the AUR. It's a lot more work to try and get something installed on Ubuntu related distros. They try to keep up by using snaps and stuff but it's still no comparison. Arch has everything.
Still it's gets a bit boring now since I know it so well, so want to try Gentoo at some point also.
Nix has entered the chat.
And one day I'll figure out how to use it.
Lol I am on the same train
Gentoo has overlays which are similar to AUR, I haven't felt like I'm missing packages compared to when I ran arch
Ok cool, even more interested in trying it now.
one of the reasons I love gentoo is how easy it is to package things for it.
You know how for pkgbuilds you have to explictly write out the whole configure make make install stuff that pretty much every package uses some variation on? Gentoo abstracts that out to libraries (eclasses) that handle that sort of thing for each build system so you can focus down on anything unique to the package, like build system options.
Also sounds really cool.
Heres an example, ebuilds are named package-version.ebuild and that version in the filename is used to define variables (such as $P here which is the name-version) to make new versions as simple as copying the ebuild with the new version in the filename.
use_enable is used to generate the --enable-(option) or --disable-(option) as set by the user.
For more info, see the devmanual. They're nice relatively straightforward bash like PKGBUILDs, but with the repetitious stuff taken out.
Try lfs
Yeah I did when I was new to Linux, several times. It was an awesome learning experience.