r/linuxfromscratch • u/PlayRood • Dec 18 '25
Switch to LFS?
Hi, I installed Arch Linux and I want to know if it is enough to install LFS.
I am a 16 year old programmer. I know C/C++, Python, Pascal.
Is that enough?
Sorry if I don't know something, or if what I said is irrelevant, it's just what I know and I want to know if it's worth it.
And I'm a masochist at installing operating systems. lol
7
Upvotes
9
u/tiny_humble_guy Dec 18 '25
The last line is cringe, anyway just go for it. Your last Distro didn't matter unless you used source based distro. Read the lfs book, make sure your host distro have the requirements for building LFS.
5
u/bsensikimori Dec 18 '25
Try it in a VM on whatever OS you are running, LFS and BLFS is a fun hobby, it'll teach you a LOT about how the Linux userland works.
Good luck!
1
u/linuxuser00101 Jan 04 '26
Did I just meet my clone by accident?😭🙏
3
u/AdLeading4203 Dec 18 '25
You can try it if you want but it’s recommended to read every aspect of the book especially as a first time builder. I built my first lfs with a very little knowledge on how linux works and it wasn’t really that hard. It just takes a very long time
3
u/Kqyxzoj Dec 18 '25
Well, in that case ... install Slackware. Only floppy disks allowed.
2
u/Intelligent_Comb_338 Dec 18 '25
You don't need to know how to program, you just need basic Linux knowledge. Arch should work every time; I've done it on Arch.
1
u/jonse2 Dec 19 '25
Have you tried Gentoo?
1
u/recursion_is_love Dec 19 '25 edited Dec 19 '25
You should learn bash (or other shell) scripting and common build system like make and cmake and pkg-config.
Building packages for linux is not like programming for application. They are looking on different aspect. Most of the time, the source is already there but need to link together correctly.
You already know Arch, so maybe start by reading PKGBUILD which is a kind of shell script to get some overview of how software packaging work.
1
u/seasoned_geek Dec 19 '25
I humbly recommend you completely ignore LFS. While you may have fun, it won't really help you in the future. Just log into Dice.com and search for Linux From Scratch in the job listings. If you really want to learn something that will get you a job and is just as low level, look into Yocto Project.
https://www.yoctoproject.org/
Search around online and find a cheap supported dev target then experiment with the various ways to build a custom embedded OS for it. (Inside Docker container, direct cross compile, etc.) Initially you will not need to know how to program because the default set of recipes for your Dev target should "just build." Until they "just build" you don't have your environment configured properly. Best if your dev target comes with a cheap touchscreen.
If you can find something like this i.MX8 with the Verdin dev board used it would be a good choice.
https://www.toradex.com/computer-on-modules/verdin-arm-family/nxp-imx-8m-plus
Ton of documentation, videos, and a user community to ask questions in.
Almost every company making an embedded system wants someone that knows Yocto.
1
u/inouthack Feb 06 '26
u/PlayRood ArchLinux is more than adequate.
Since ArchLinux is a rolling release, you'd have the latest packages for just about every dependency listed in LFS book.
If something doesn't work while trying LFS, you can also cross-check with what the Arch scripts.
19
u/[deleted] Dec 18 '25
[removed] — view removed comment
1
u/[deleted] Dec 30 '25
[removed] — view removed comment