
Books · technical book
Linux From Scratch by the LFS Project
Hacker Approved
Builds a deep understanding of how Linux components fit together by compiling everything by hand. Critics say it is more cookbook than explanation.
Summarized from 115 comments.
Builds a deep understanding of how Linux components fit together by compiling everything by hand. Critics say it is more cookbook than explanation.
- recommend
- 72
- criticize
- 19
- months recommended
- 9 of 13
- median owned, 13 owners said
- 20 years
Why people love it
Shows how Linux components fit together · 8
Linux from Scratch is great for building a deeper understanding of how the different parts in linux systems work together
Jan 2026 · commentLFS helped me a lot. It taught me how to compile packages manually, and how GNU/Linux components fit together.
Sep 2026 · commentit was quite educational! It's a good way to learn the fundamentals of what comprises an actual Linux system
Sep 2026 · commentFormative for people learning Linux · 5
Learning how to build dozens of different projects and see how they all fit together really set me up for my career
Jan 2026 · commentHaving done it as a teenager as well when it showed up in 1999 myself, that's probably the sweet point
Jan 2026 · commentThis was a pivotal project for me as a young lad learning Linux and software engineering
Jan 2026 · commentTeaches compiling packages manually · 3
LFS helped me a lot. It taught me how to compile packages manually, and how GNU/Linux components fit together.
Sep 2026 · commentIt taught me how to compile packages manually, and how GNU/Linux components fit together.
Sep 2026 · commentLFS taught me more about sed, gcc CFLAGS and bootstrapping than the underlying OS sadly
Jan 2026 · commentValued for learning, not the built system · 2
LFS is an exercise in learning for the sake of it, and therefore, not a waste of time.
Jan 2026 · commentThe value of LFS is not in having the system you build, it's in understanding it.
Jan 2026 · comment
What people warn about
Outdated docs and build failures · 2
docs were a bit outdated so it was either trial and error or typod that required you to stay on your toes
Jan 2026 · commentI often fail to compile it; most recently with GCC complaining and failing at options.cc.
Sep 2026 · commentHard to find where to start · 2
the landing page UX doesn't make it immediately obvious where to even start reading
Sep 2026 · commentNot the worst navigation I've seen but the parent comment does have a point.
Sep 2026 · commentSkips kernel and systemd internals · 4
LFS didn't really expose you to that or really teach you much about Systemd internals
Feb 2026 · commentit still feels weak that it's so guided by a future GUI requirement for systemd
Feb 2026 · commentFundamental things like how processes are scheduled are not explained by LFS.
Sep 2026 · commentCookbook with little explanation · 2
very little explanation of what anything meant or why it was done one way instead of another
Jan 2026 · commentLFS is known but it is really more a cookbook than explanatory principles.
Sep 2026 · comment
What hackers pick instead
- Game Engine White Papers: Commander KeenPeople praise it as a valuable retro game code analysis with fine content. Critics say the site design looks copied and it reuses Fabien's material without clear credit.13recommend
- Offline password cracking book by BojtaRecommended for technically accurate, interesting coverage of offline password cracking, from an author who spent four years on it. Critics note verbose prose and grammar errors.10recommend
- FreeBSD Handbook by FreeBSD Documentation ProjectNewcomers to FreeBSD use it as the official onboarding guide, and people praise its documentation as well organized and easy to search.9recommend
- WebRTC for the Curious by Sean DuBoisA free online book that explains the underlying workings of WebRTC, helping readers understand the protocol and debug problems more easily.5recommend
- Hands-On Large Language Models by Jay Alammar and Maarten GrootendorstUp-to-date guide with examples across major foundation model providers, plus practical chapters on structured outputs and evaluation.5recommend
Every quote
The 40 most detailed of 115 comments. Each links to the original.
Linux from Scratch is great for building a deeper understanding of how the different parts in linux systems work together
Mixed · Jan 2026 · in “Linux from Scratch”
Learning how to build dozens of different projects and see how they all fit together really set me up for my career
Recommends · Jan 2026 · in “Linux from Scratch”
LFS helped me a lot. It taught me how to compile packages manually, and how GNU/Linux components fit together.
Recommends · Sep 2026 · in “Linux from Scratch”
it was quite educational! It's a good way to learn the fundamentals of what comprises an actual Linux system
Recommends · Sep 2026 · in “Linux from Scratch”
docs were a bit outdated so it was either trial and error or typod that required you to stay on your toes
Mixed · Jan 2026 · in “Linux from Scratch”
Having done it as a teenager as well when it showed up in 1999 myself, that's probably the sweet point
Recommends · Jan 2026 · in “Linux from Scratch”
This was probably the best thing I've done to learn the ins and outs of a running Linux system
Recommends · Jan 2026 · in “Linux from Scratch”
very little explanation of what anything meant or why it was done one way instead of another
Mixed · Jan 2026 · in “Linux from Scratch”
It taught me how to compile packages manually, and how GNU/Linux components fit together.
Recommends · Sep 2026 · in “Linux from Scratch”
I often fail to compile it; most recently with GCC complaining and failing at options.cc.
Mixed · Sep 2026 · in “Linux from Scratch”
This was a pivotal project for me as a young lad learning Linux and software engineering
Recommends · Jan 2026 · in “Linux from Scratch”
LFS taught me more about sed, gcc CFLAGS and bootstrapping than the underlying OS sadly
Recommends · Jan 2026 · in “Linux from Scratch”
LFS is an exercise in learning for the sake of it, and therefore, not a waste of time.
Recommends · Jan 2026 · in “Linux from Scratch”
LFS is worth doing if you are interested in learning how Linux distro is put together
Recommends · Sep 2026 · in “Linux from Scratch”
the landing page UX doesn't make it immediately obvious where to even start reading
Mixed · Sep 2026 · in “Linux from Scratch”
The value of LFS is not in having the system you build, it's in understanding it.
Recommends · Jan 2026 · in “Linux from Scratch”
building Linux from scratch was the thing that got me into computers as a kid
Recommends · Jan 2026 · in “Linux from Scratch”
Not the worst navigation I've seen but the parent comment does have a point.
Mixed · Sep 2026 · in “Linux from Scratch”
What eventually helped me to really get into things was Linux From Scratch.
Recommends · Nov 2025 · in “Unix Recovery Legend”
LFS is known but it is really more a cookbook than explanatory principles.
Mixed · Sep 2026 · in “Linux from Scratch”
It's amazing for learning your system and how all its libraries integrate.
Mixed · Oct 2026 · in “Last rites for Gentoo's Chromium package”
I'm thankful for these people teaching me how to build a Linux system.
Mixed · Feb 2026 · in “Linux from Scratch Ends SysVinit Support”
LFS didn't really expose you to that or really teach you much about Systemd internals
Criticizes · Feb 2026 · in “Linux from Scratch Ends SysVinit Support”
it still feels weak that it's so guided by a future GUI requirement for systemd
Criticizes · Feb 2026 · in “Linux from Scratch Ends SysVinit Support”
Fundamental things like how processes are scheduled are not explained by LFS.
Criticizes · Sep 2026 · in “Linux from Scratch”
LFS glosses over a lot of pretty important parts like kernel configuration.
Criticizes · Jan 2026 · in “Linux from Scratch”
I kept an LFS system going for a few months (on a wretchedly awful by modern standards celeron “net top”) until eventually making a mess I couldn’t figure out how to untangle during a system upgrade.
Mixed · Sep 2026 · in “Linux from Scratch”
if one wanted to do "Linux From Scratch" and get an idea of how an OS like Debian or Fedora works, you would want to build and install systemd from source
Recommends · Feb 2026 · in “Linux from Scratch Ends SysVinit Support”
If he wanted to show people how to roll their own opinionated distro the way gentoo or lfs kinda did that’d be another too!
Mixed · Sep 2026 · in “Omarchy: Any User Process Can Escalate to Root”
which can often be found in LFS/BLFS by the way, they often use sed instructions to fix individual things
Recommends · Apr 2026 · in “GCC 16 has been released”
LFS is just on a whole different level, and is on my bucket list to complete the entire process one day.
Recommends · Jan 2026 · in “Linux from Scratch”
LFS is a cookbook, and you learn most by having an idea about how you want to tune your Linux system.
Recommends · Sep 2026 · in “Linux from Scratch”
Maybe the person from the first comment read first few pages only which basically give some context.
Recommends · Sep 2026 · in “Linux from Scratch”
immensely invaluable means of keeping informed with the way things are rolling in the Linux world
Recommends · Sep 2026 · in “Linux from Scratch”
the reasoning behind every package, and the meaning of most compilation flags was explained
Recommends · Jan 2026 · in “Linux from Scratch”
If you want ultimate control have a bot read and build the LFS documentation to your needs.
Mixed · Mar 2026 · in “Why I love NixOS”
I always recommend going through this for those that want a deeper understanding of linux
Recommends · Jan 2026 · in “Linux from Scratch”
It is quite straightforward, the explanations can be copy/pasted for the most part.
Recommends · Jan 2026 · in “Linux from Scratch”
I use it a lot for package management/bootstrapping/cross compilation experiments
Recommends · Feb 2026 · in “Linux from Scratch Ends SysVinit Support”
You can also choose the most practical approach and attempt "Linux From Scratch"
Recommends · Jan 2026 · in “Ask HN: Learning Linux as a Complete Beginner”
Counts from 1,795,640 Hacker News comments, Nov 2025 to Nov 2026. How we count · Report a mistake