Skip Navigation

Has anyone here ever tried Linux From Scratch?

For those of you who don't know, Linux From Scratch is a project that teaches you how to compile your own custom distro, with everything compiled from source code.

What was your experience like? Was it easier or harder than you expected? Do you run it as a daily driver or did you just do it for fun?

62 comments
  • I did it back in 2020 when we all had nothing better to do. Got as far as installing X11 and Openbox, and halfway through setting up the toolchain for Firefox.

    It was fun - the kind of fun digging a big hole is. It’s not for everybody, but I sort of enjoyed it.

  • I've done it before. It's not particularly difficult, just very time consuming. And at the end, you're left with a distribution that's not really that useful without repackaging everything you did into a package manager so you can do updates without borking it.

    Great as a learning tool to see how the whole GNU/Linux stack works, but not something you'd use practically.

  • Did it for shits and giggles once back in 2006. I think everyone serious about learning Linux at a "pro" level should go through the process at least once, even if the system gets wiped afterward in favor of a more usable distro. Teaches you what the standardized core components are and what they do, and gives you a clear understanding of how Linux is structured. That knowledge will carry on over to other distros and will make it much, much easier to troubleshoot issues with your system if you know how the parts of that system work.

    For those unaware or who never used it, it has a huge setup guide with copy/pastable commands to guide you through each step. Theres even an automated script from what I remember. They don't just give you a pile of source code and tell you "good luck".

  • I ran it as my primary distro on my main machine for a while way back when. I don't recommend that.

    What I do recommend is going though the entire process even if it's just in a VM. It's incredibly educational and will teach you a ton about Linux and OS construction in general. I used to recommend it to everyone I was teaching linux/ Unix too and all the students who actually went through it and completed it now have successful IT careers. 100% an incredibly valuable teaching resource, you will look at all OS's with new eyes after you've built one bit by bit from source by hand.

  • Did it about 10 years ago. Didn't really understand half of what I was doing at the time but it was a fun way to spend a weekend 😁

  • I did. First page and said fuck it and left. Don't have the energy for it. Lol

  • Haven't tried LFS yet but I have had my share of compiling custom Arch kernel (basically just making it smaller and boot a little bit faster), or cross-compiling various stuff for embedded and having to crawl through some of the lower level stuff.
    It might be that time of a year to give LFS a try now that you mention it.

  • It’s definitely on my Linux bucket list. I’ve been kinda thinking about making a distro myself (specifically because I want to try some unusual and niche things in terms of system layout and package management), and that would be a good starting point.

  • Yes, back in the early 00s. We toyed with making a net-bootable image with it for our computer labs, but it was really not practical. It definitely taught me a ton about systems, though.

  • Didn't know about this, might give it a try later on, thanks for sharing 🌻

  • Before the ArchLinux wiki became as good as it is, people like me used the Gentoo and LFS wikis as documentation for Linux.

    There isn't quite enough time in the world for me to be able to use LFS in anger as much I would wish. We make do with source distros with source managers like Gentoo (surprise!), Funtoo and others which give the source distros users just enough helping hands of dependency management.

    Real tears would be shed were for LFS to disappear.

62 comments