A friend and I wanted to play around with Linux, so we installed Mandrake[1] Linux on a school PC. We didn't know what we were doing, and the GUI (I think it was KDE3?) abstracted too much. It was also very unstable.
I don't remember how I got to know about Gentoo, but I then proceeded to install and reinstall Gentoo on my home PC (Athlon 64) about 20 times, and this was when you had to start from stage1, so you had to do a full bootstrap, kernel, and system compile; no binaries and no shortcuts. The scrolling gcc output on my screen was the coolest thing ever.
The Gentoo handbook was amazing. It taught you exactly how Linux works and how to install every component of the system.
After a while, I began contributing to the distro and even became a developer for a few months but had to quit due to real life.
I don't follow Gentoo today, but if it's still valuable as a tool to learn Linux, I can highly recommend it.
As a libertarian on social issues, I think you should be able to use whatever flavor of linux you want -- but Gentoo seems to be for people who really want to get into the nitty gritty :-)
For me, I prefer Debian. No ad crap like Ubuntu, decent userbase with several popular security distros (Parrot, Kali) based on it, so lots of eyeballs. And fairly usable, especially if you switch over to XFCE so you're not wasting resources on flashy graphics.
It might be, but Arch is pretty solid and my favorite. Regardless, both distributions have a place in the world and I'm not too concerned with the best, that's too subjective.
Gentoo and Linux from Scratch (LFS) were a great way to learn back in the day (yes, 20-some years ago) — and support relatively custom operating environments through USE flags (e.g., which flavor of Motif did I want to use). I found Gentoo to be a rather practical low-level tradeoff in that era compared to Debian (super old package set and release cadence). You have to bear in mind: there were plenty of Gentoo users out there who weren't into abusing CFLAGS and such. And Portage had such a low bar to climb to create a package (cf. Debian Policy Manual as a description of the arcane nature of Debian package management with dh). Moreover, Ubuntu, which was a good pressure on Debian to modernize, wasn't yet on the mainstream for a good window of time when Gentoo really took off.
I have been using Gentoo 10+ years, you can save time using other distros but you'll waste an insane amount of time as soon as you want to properly configure a yubikey or set up a modern compilation stack (or update specific drivers or fixing the kernel).
Compiling everything seems like an overkill, but remember it's unattended time, just start the upgrade before dinner twice a week and you'll be good to go.
(Failure to compile in Gentoo are extremely rare, less than once a year)
The upside is deciding exactly which packets you want and which versions, and whenever you want to customize( or fix) a specific thing it's trivial.
Arch is less flexible but AUR wins for me over overlays. I find writing and modifying Arch pkgbuild a lot easier than Gentoo ebuild.
Ebuild offers a lot of functions and "magic" which looks nice in theory but actually means you will be lost if you don't write them often. Arch pkgbuild look like a shell script. Adding a random patch to an existing package is extremely easy.
Gentoo was how I learned Linux. In college, I used it on my desktop (alongside Windows) and I remember thinking I was a "1337 h4xx0r" by compiling my kernel and setting the flags to make everything custom for my PC. I remember having compile errors and having to try to fix it, even though I didn't know much about C/C++.
I enjoyed using Gentoo and I eventually set up distcc on a separate computer to help compiling.
I forget exactly when, but I switched to Arch Linux and after a failed upgrade there, switched again to Fedora.
I used Gentoo since about 2012 up until 2022 then switched to Debian mainly because lot less things used to break during updates and my old CPU ( i7 4790k ) became a bit dated to compile every new version of Golang, Rust and Chromium - just hours and hours of brutal grind. Since flatpak can provide up to date versions of a lot of desktop software on Debian there is very little point switching back. Maybe one day if I get my hands on some ridiculously powerful CPU like 7800 or 9800X3D then might try it again.
I stop caring about Gentoo in 2005, classical distros do the job, I also don't care about nix and guix.
Everyone is naturally free to use whatever they feel like, some people never open the hood on their cars, while others might even melt bolts to fix their oldtimers themselves.
Running gentoo on desktop, since 2007. My first installation lasted 7 years. The next one has worked well for me since 2013. It was my first real contact with linux and taught me a lot. My setup is bargain bin components from the same 2013 but I update and compile world during the nights.
I'm thinking of finally upgrading my components as Sandy Bridge is not cutting it in all tasks any more. Told my Gentoo-loving friend that I wouldn't be installing Gentoo again. That's only because I'm planning on just using this current installation with fresh recompilations!
Nix, in addition to reproducibility, also allows you to any multiple versions of the same software, including all the dependencies of each of these. From what I remember from Gentoo, this wasn't supported by it.
No, I know PPA's are just a way of telling apt about a repository.
What I mean is that Debian does not support adding PPA by default island I frankly don't hear of many Debian users doing that. Flatpak/-hub is much more common.
I don't know what to tell you/say, it's a completely supported - and utilized - method for distributing software. For both Debian and Ubuntu. "By default" is completely irrelevant, let me explain.
First, somewhat sarcastically, I can give you that support right here. "echo ... | sudo tee /etc/apt/sources.list.d/...". Go forth and prosper.
Now, more seriously/importantly, this is for distributing user-supplied software. The point I was originally making is that anyone can leverage this, it's not representative of the Distribution. AUR, PPA, COPR (for your RHEL derivative of choice), OBS, whatever. The malware is the responsibility of the user who published it, not the Distribution maintainers.
Aside: I'm deliberately trying use 'distribution' as a proper noun/capitalize where appropriate... in terms of the composite of software we know as Debian or Ubuntu, not an individual release like the 'software-properties-common' package or malware: what started this thread.
Back on topic: this is firmly down the path of customization. The fact that you don't get 'add-apt-repository' for free is, again, irrelevant. PPAs will distribute (heh) Deb packages for either Distribution.
If we're working off anecdotes, I hear about far more Sources [repo] files being made on Debian than Flatpak installations. Now what do we do.
Unfortunately the binary packages are still only available upto x86-64-v3, so users on x86-64-v4 (which I reckon what majority of "advanced" users would be using) and even more so AMD Zen 4/5 users would be missing out on advanced instructions and other compile optimisations.
Luckily Arch/CachyOS users don't have to worry about this as CachyOS offers optimised packages for modern CPUs. Until Gentoo offers an equivalent - without manual compiling needed - I won't consider it.
I'd say it's more akin to learning vim, where there's a fairly steep learning curve at the outset, with huge rewards down the line.
Yes, initial install can take a while. Yes, system updates take longer when built than from binaries - but modern hardware makes that a fairly trivial difference. Most people who have a problem with Gentoo either only used it decades ago when build time were a lot longer, or because they heard it takes long, which is way more common than the former.
Could you maybe elaborate on your statement that...
> Gentoo overlays are better designed than debian/ubuntu PPA(personal package archive)s and AUR(arch user repository).
...because from what the Gentoo wiki states, an overlay is a repository of packages from which Portage will automatically install packages. That is a clear contrast to the AUR from which you manually get a package so you have the chance to inspect it without Pacman automatically going and installing it. For Arch a closer equivalent would be unofficial user repositories.
I used gentoo for years. While I still have a fond spot for those memories, saying that it is simpler than nixos is just flat out wrong. I've vastly simplified my involvement and removed most pitfalls from my day to day. Years pass with minimal breakage or churn and my devices just keep working.
Any recommendations for getting started in Gentoo?
I was taking a look at their documentation and it seems quite comprehensive. Though I was wondering if there are any books or tutorials that the Gentoo community also values.
> You don't need reproducibility that comes with nix or guix on desktop computers.
I disagree. My desktop, laptop and servers all share one terminal config and gets updated from a git repo. All the other distros are too much work to have a worse, janky symlink config that self-destructs on an iffy update.
Twenty years ago, Gentoo taught me Linux.
A friend and I wanted to play around with Linux, so we installed Mandrake[1] Linux on a school PC. We didn't know what we were doing, and the GUI (I think it was KDE3?) abstracted too much. It was also very unstable.
I don't remember how I got to know about Gentoo, but I then proceeded to install and reinstall Gentoo on my home PC (Athlon 64) about 20 times, and this was when you had to start from stage1, so you had to do a full bootstrap, kernel, and system compile; no binaries and no shortcuts. The scrolling gcc output on my screen was the coolest thing ever.
The Gentoo handbook was amazing. It taught you exactly how Linux works and how to install every component of the system.
After a while, I began contributing to the distro and even became a developer for a few months but had to quit due to real life.
I don't follow Gentoo today, but if it's still valuable as a tool to learn Linux, I can highly recommend it.
[1]: https://en.wikipedia.org/wiki/Mandriva_Linux
As a libertarian on social issues, I think you should be able to use whatever flavor of linux you want -- but Gentoo seems to be for people who really want to get into the nitty gritty :-)
For me, I prefer Debian. No ad crap like Ubuntu, decent userbase with several popular security distros (Parrot, Kali) based on it, so lots of eyeballs. And fairly usable, especially if you switch over to XFCE so you're not wasting resources on flashy graphics.
It might be, but Arch is pretty solid and my favorite. Regardless, both distributions have a place in the world and I'm not too concerned with the best, that's too subjective.
Why are Overlays better than AUR?
Gentoo and Linux from Scratch (LFS) were a great way to learn back in the day (yes, 20-some years ago) — and support relatively custom operating environments through USE flags (e.g., which flavor of Motif did I want to use). I found Gentoo to be a rather practical low-level tradeoff in that era compared to Debian (super old package set and release cadence). You have to bear in mind: there were plenty of Gentoo users out there who weren't into abusing CFLAGS and such. And Portage had such a low bar to climb to create a package (cf. Debian Policy Manual as a description of the arcane nature of Debian package management with dh). Moreover, Ubuntu, which was a good pressure on Debian to modernize, wasn't yet on the mainstream for a good window of time when Gentoo really took off.
I have been using Gentoo 10+ years, you can save time using other distros but you'll waste an insane amount of time as soon as you want to properly configure a yubikey or set up a modern compilation stack (or update specific drivers or fixing the kernel). Compiling everything seems like an overkill, but remember it's unattended time, just start the upgrade before dinner twice a week and you'll be good to go. (Failure to compile in Gentoo are extremely rare, less than once a year)
The upside is deciding exactly which packets you want and which versions, and whenever you want to customize( or fix) a specific thing it's trivial.
Arch is less flexible but AUR wins for me over overlays. I find writing and modifying Arch pkgbuild a lot easier than Gentoo ebuild.
Ebuild offers a lot of functions and "magic" which looks nice in theory but actually means you will be lost if you don't write them often. Arch pkgbuild look like a shell script. Adding a random patch to an existing package is extremely easy.
Gentoo was how I learned Linux. In college, I used it on my desktop (alongside Windows) and I remember thinking I was a "1337 h4xx0r" by compiling my kernel and setting the flags to make everything custom for my PC. I remember having compile errors and having to try to fix it, even though I didn't know much about C/C++.
I enjoyed using Gentoo and I eventually set up distcc on a separate computer to help compiling.
I forget exactly when, but I switched to Arch Linux and after a failed upgrade there, switched again to Fedora.
I used Gentoo since about 2012 up until 2022 then switched to Debian mainly because lot less things used to break during updates and my old CPU ( i7 4790k ) became a bit dated to compile every new version of Golang, Rust and Chromium - just hours and hours of brutal grind. Since flatpak can provide up to date versions of a lot of desktop software on Debian there is very little point switching back. Maybe one day if I get my hands on some ridiculously powerful CPU like 7800 or 9800X3D then might try it again.
I just got a Ryzen AI 395+ and compilation times are insane, kernel compiles in one minute! :D https://www.phoronix.com/review/amd-ryzen-ai-max-pro-395/5
Wow! 1 min?! that is absolutely nuts! I remember having to recompile the kernel on my 386,486 etc,
I stop caring about Gentoo in 2005, classical distros do the job, I also don't care about nix and guix.
Everyone is naturally free to use whatever they feel like, some people never open the hood on their cars, while others might even melt bolts to fix their oldtimers themselves.
Running gentoo on desktop, since 2007. My first installation lasted 7 years. The next one has worked well for me since 2013. It was my first real contact with linux and taught me a lot. My setup is bargain bin components from the same 2013 but I update and compile world during the nights.
I'm thinking of finally upgrading my components as Sandy Bridge is not cutting it in all tasks any more. Told my Gentoo-loving friend that I wouldn't be installing Gentoo again. That's only because I'm planning on just using this current installation with fresh recompilations!
Nix, in addition to reproducibility, also allows you to any multiple versions of the same software, including all the dependencies of each of these. From what I remember from Gentoo, this wasn't supported by it.
With malware reportedly uploaded by random people to AUR, I will stick to Debian.
A good thing about proprietary OS is that, they are responsible if their repos are infected.
Are packages carefully reviewed by gentoo?
PPAs are your AUR
Are you confusing Debian and Ubuntu?
> Are you confusing Debian and Ubuntu?
No, you're confusing exclusivity. https://launchpad.net/debian/+ppas
No, I know PPA's are just a way of telling apt about a repository.
What I mean is that Debian does not support adding PPA by default island I frankly don't hear of many Debian users doing that. Flatpak/-hub is much more common.
I don't know what to tell you/say, it's a completely supported - and utilized - method for distributing software. For both Debian and Ubuntu. "By default" is completely irrelevant, let me explain.
First, somewhat sarcastically, I can give you that support right here. "echo ... | sudo tee /etc/apt/sources.list.d/...". Go forth and prosper.
Now, more seriously/importantly, this is for distributing user-supplied software. The point I was originally making is that anyone can leverage this, it's not representative of the Distribution. AUR, PPA, COPR (for your RHEL derivative of choice), OBS, whatever. The malware is the responsibility of the user who published it, not the Distribution maintainers.
Aside: I'm deliberately trying use 'distribution' as a proper noun/capitalize where appropriate... in terms of the composite of software we know as Debian or Ubuntu, not an individual release like the 'software-properties-common' package or malware: what started this thread.
Back on topic: this is firmly down the path of customization. The fact that you don't get 'add-apt-repository' for free is, again, irrelevant. PPAs will distribute (heh) Deb packages for either Distribution.
If we're working off anecdotes, I hear about far more Sources [repo] files being made on Debian than Flatpak installations. Now what do we do.
Gentoo is pretty much the easiest distro when you want to do things outside the norm (doesn't have to be much).
I spent a lot of my freshman year of college waiting for `emerge update world` to finish.
And if you're me, SSHing into that machine from the other side of campus to check on the status of the update :)
Gentoo will always have a special place in my heart.
It's always been my goto if I want absolute maximum rice or feeling of control.
The Gentoo handbook is also amazing, especially the pages going over the nitty gritty details.
Personally though I'm more interested in nixos (if I want to roll my own) these days for it's immutable features.
Gentoo is great if you value your time at $0.
Cooking your own food is great if you value your time at $0. I just eat fast food every day to maximize my free time (spent on doomscrolling).
Gentoo Linux became a lot easier with binary packages and binary linux kernel.
You don't need to customize it, but you can still get packages from third party overlays.
The customizability is available when you need it or want it.
Learning to use gentoo's basic functionality doesn't cost a lot of time, and I recommend utilizing only the basic functionality in most cases.
Just stick to the basics, and you will be fine.
Unfortunately the binary packages are still only available upto x86-64-v3, so users on x86-64-v4 (which I reckon what majority of "advanced" users would be using) and even more so AMD Zen 4/5 users would be missing out on advanced instructions and other compile optimisations.
Luckily Arch/CachyOS users don't have to worry about this as CachyOS offers optimised packages for modern CPUs. Until Gentoo offers an equivalent - without manual compiling needed - I won't consider it.
C++ compiler and standards writers value your time at even less.
Didn’t believe it until I saw it.
Disagree.
I'd say it's more akin to learning vim, where there's a fairly steep learning curve at the outset, with huge rewards down the line.
Yes, initial install can take a while. Yes, system updates take longer when built than from binaries - but modern hardware makes that a fairly trivial difference. Most people who have a problem with Gentoo either only used it decades ago when build time were a lot longer, or because they heard it takes long, which is way more common than the former.
Huge upside.
You need two sets of the "same" hardware, though. Then you get a build server with -march native
... and your electricity.
ur still on a pentium 2?
try to get other people to value ur time...
Could you maybe elaborate on your statement that...
> Gentoo overlays are better designed than debian/ubuntu PPA(personal package archive)s and AUR(arch user repository).
...because from what the Gentoo wiki states, an overlay is a repository of packages from which Portage will automatically install packages. That is a clear contrast to the AUR from which you manually get a package so you have the chance to inspect it without Pacman automatically going and installing it. For Arch a closer equivalent would be unofficial user repositories.
I used gentoo for years. While I still have a fond spot for those memories, saying that it is simpler than nixos is just flat out wrong. I've vastly simplified my involvement and removed most pitfalls from my day to day. Years pass with minimal breakage or churn and my devices just keep working.
Any recommendations for getting started in Gentoo?
I was taking a look at their documentation and it seems quite comprehensive. Though I was wondering if there are any books or tutorials that the Gentoo community also values.
https://www.gentoo.org/get-started/
https://wiki.gentoo.org/wiki/Handbook:Main_Page
https://wiki.gentoo.org/wiki/Main_Page
I only needed gentoo wiki and gentoo handbook for everything from the begining. You can read arch wiki for more instructions.
Awesome thanks :)
the handbooks are a true treasure trove.
other then that id recommend to look into (which will all be in the handbook): emerge, eselect, equery, eix (packages/tools related to package mgr)
Wait you don't need to compile open office for 15 hours anymore??
> You don't need reproducibility that comes with nix or guix on desktop computers.
I disagree. My desktop, laptop and servers all share one terminal config and gets updated from a git repo. All the other distros are too much work to have a worse, janky symlink config that self-destructs on an iffy update.