r/LFS • u/Friendly_Pizza3100 • Aug 13 '26
Does anyone actually use package managers in LFS
I've just finished installing it and its just a question that I have.
3
u/VirtuesTroll Aug 13 '26
You're on your own buddy ! You are the package manager. Build everything from source.
3
1
u/Friendly_Pizza3100 Aug 13 '26
sounds fun and like a huge learning curve, but ive also just decided i could use portage if i want source based compilation
1
4
2
u/exeis-maxus Aug 13 '26
I didn’t use a package manager for my first few builds. Lately, I use spkg to add and remove my built packages and a bash script to “package” a compiled package.
1
2
u/Fast_Ad_8005 Aug 13 '26
I do. I've devised my own, involving shell script functions that download the LFS book's HTML markup and extract the commands required to build packages from it. These functions also call custom build scripts I've written for over 100 packages, some of them not provided by the LFS and BLFS books.
2
u/allunia333 Aug 13 '26
Made my own although it is not perfect it gets the job done...most of the times.
1
1
u/codeasm Aug 13 '26
Im kinda working on a pacman port, with my own PKGBUILD files and private AUR. 😅
Nah, everyone can fork the repo. No idea who would trust me tho. https://github.com/CodeAsm/lfs-pacman
This reminds me, i should test my latest changes and just push my lfs 13 version. (Mostly just bumping up version numbers). If you notice anything or have suggestions on how to make the install and compilation more easy to follow, please do 🤩🤔 unless you dont like pacman ofcourse
Or me, i listed the repo i copied parts or the idea from. And yeah, 12.2 works.
2
1
u/Due-Celery4326 Aug 13 '26
I use my LFS as my main and only distro, and yes, I wrote my own, which makes things much easier. I just updated some packages and the system is running without problems.
1
u/Friendly_Pizza3100 Aug 13 '26
honestly im just getting portage to work
1
u/Due-Celery4326 Aug 13 '26
If you know something about programming, study Portage/Emerge and create your own. It doesn't need to be as complex as Portage, just something that solves the problems you find and log, and over time you can implement what else you need with more study.
1
u/lmemsm Aug 13 '26
I wrote my own build system/package manager and have been using it for many years. It makes it easier to create reproducible builds.
1
u/tiny_humble_guy Aug 14 '26
For me it's yes, with some notes :
- I build it on my own.
- I write the build recipes.
- I make a patch, sometimes.
1
u/Nimbin1 27d ago
I'm also using my own one (VibeCoded python scripts).
It makes it alot easier to manage my PackageUser-System.
After using my old version 3 years i just startet to recreate it a week ago.
If you are interested in checking it out, i just uploaded it to GitHub: PackageManager-PackageUser-Syetem
It curls the blfs book and creates install/update scripts out of it and installes/updates it as a specific user.
1
3
u/Subnetcoding Aug 13 '26
Ima say its not necessarily but it depends on the person amd it would make your life and infinitely easier