this post was submitted on 13 Sep 2023
81 points (96.6% liked)

Linux

48031 readers
1280 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
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] Kangie@lemmy.srcfiles.zip 12 points 1 year ago (5 children)

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!

[–] banazir@lemmy.ml 3 points 1 year ago

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.

[–] 30p87@feddit.de 3 points 1 year ago

And for more in depth explanation of compilation, patches etc. consider LFS, or at least reading the 'book' on https://linuxfromscratch.org/

[–] doublejay1999@lemmy.world 2 points 1 year ago (2 children)

Gentoo install keeps coming up - what does it do ? What does it offer ?

[–] TheEntity@kbin.social 6 points 1 year ago* (last edited 1 year ago)

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.

[–] Kangie@lemmy.srcfiles.zip 5 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] BackOnMyBS@lemmy.world 2 points 1 year ago

me, a Linux Mint user, reading that comment

[–] ruination@discuss.tchncs.de 2 points 1 year ago

I found that, at the cost of a few months of absolute suffering, using Gentoo as my first distro fasttracked my Linux learning.

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.