Recently, I’ve been using linux(tried multiple distros). I’m curious about how linux works, it’s architecture! Is there a book, guide, video, etc to learn about linux? By using linux, I get to know something. It would be better If I know how linux works!
IMO running through a Gentoo installation is a great way to learn.
The handbook is well documented and walks you through all of the steps that an installer would traditionally do.
You can do it in a VM or bare metal if you’re feeling adventurous!
Yeah, Gentoo is a good way to get your hands dirty. Reading the guide and trying to dig in deeper as to what you’re doing will give you a decent understanding of Linux.
And for more in depth explanation of compilation, patches etc. consider LFS, or at least reading the ‘book’ on https://linuxfromscratch.org/
Even manually installing Arch is a good way to understand the parts of a Linux system, stuff like users, package management, etc. Without heating your house all summer compiling the kernel.
Gentoo install keeps coming up - what does it do ? What does it offer ?
Gentoo itself is “just” a very solid distro with lots of flexibility due to being source-based (most distros just deliver the resulting binaries), so if you’re the kind of person that would customize the things Gentoo exposes, Gentoo makes it easier than it would be on Debian or Arch. If not, it’s an added complexity for not much benefit.
The Gentoo installation guide famously doesn’t shy away from explaining what needs to be done, it isn’t just a series of step-by-step instructions. For this reason it’s a great way to start learning this stuff. Even if it won’t explain everything completely, it will surely point at the right direction.
The standout feature of Gentoo is its configurability; you can configure portage, the package manager, to enable and disable features of a package at build time.
Say you don’t have Bluetooth. You can just exclude Bluetooth from every package by setting the use flag globally:
*/* -bluetooth
it can even manage dependencies, a good example is picking pipewire over pulse.
It’s also easy to package software that isn’t in the official repos - here’s a post where I did just that.
The community is fantastic and supportive, and you can often get a near immediate response in IRC.
Finally the documentation is excellent, especually the handbook.
me, a Linux Mint user, reading that comment
Thanks !
I found that, at the cost of a few months of absolute suffering, using Gentoo as my first distro fasttracked my Linux learning.