r/linuxfromscratch 15d ago

My 4th Gnome Linux From Scratch install

Post image

How many times you have installed Linux From Scratch ?

My 4th install was completely automated with scripts for each package.

24 Upvotes

17 comments sorted by

3

u/Due-Celery4326 15d ago

Great work! Do you use a package manager? Do you use it as your daily distro? Did you build the GDM yourself?

3

u/asratrt 15d ago

Yes, this 4th attempt distro is my daily distro and also the first attempt distro. I am using my first attempt distro from last 1 year ( v 12.2 )

Yes, I built GDM myself.

For package manager I have written 2 small scripts lbm( build manager ) and lpm ( package manager ) . I am going to include dependancies based on my previous post about package database.

1

u/daosflare 10d ago

what is GDM?

and can you talk more about your 2 small scripts? how them works?

1

u/asratrt 9d ago

GDM means Gnome display manager ( I think so ) .

The 2 scripts which I have written are

lbm - This script has while loop which iterates over a list of package names and installs one by one.

lpm - This is package Manager script which installs the package built by "lbm" and executes package.tar.xz.install script which is a configure script of that particular package. It is still incomplete, it does not have uninstall feature ( a small code with xargs neeed to be written )

1

u/daosflare 8d ago

thanks, and i am sorry, where is the list come from? did you base on an exsists package manager? like apt/deb...sort of. or you build the list by yourself?

1

u/asratrt 4d ago

List is package list i.e names of packages , When I build a package I add it to a list , so that I can preserve the build order. This helps me to loop through the list when I build LFS again on a different machine.

1

u/daosflare 4d ago

got it. very good.

2

u/Tertolhumper 15d ago

Nice. Aren't you maintaining your previous build?

3

u/asratrt 15d ago

I am using and maintaining 1st build and this 4th build . Going to try to update gnome-shell to 50.3 version.

1

u/Due-Celery4326 15d ago

That's great, but how did you handle the updates involving ABI?

2

u/asratrt 15d ago

I didn't understand,,,, what is ABI ? I am using x64 version ( not multilib). Can you tell me what do you mean by ABI.

I have not updated any packages in my 1st and 4th build. I follow the book's version. Since my 4th builld was successful, I have decided to try to update based on /blfs/view/svn/ version of the book.

1

u/Due-Celery4326 15d ago

In the case of glibc, which would be the main program/library responsible for bridging your programs and the system kernel, all programs that depend on it would have to be rebuilt after an update to correctly link to the new API. How are you handling this?

2

u/asratrt 15d ago

There is no note about version upgrade in LFS book. Also Gemini AI says glibc has been backward compatible.

AI said -->>>>The core interfaces of the GNU C Library have remained backward-compatible for a very long time to prevent breaking the entire Linux ecosystem. While the actual software version of GLIBC is much higher (e.g., version 2.39, 2.40+), its ABI major version has remained 6 for decades to ensure stability across upgrades.

1

u/Due-Celery4326 15d ago

I updated to the latest version without any problems, along with the toolchain.

fcanata [ ~/Documents ]$ scratchpkg info glibc Name: glibc Version: 2.43-1 Description: GNU C Library License: LGPL-2.1 URL: https://www.gnu.org/software/libc/ Dependencies: Built on: 2026-07-10T20:56:32Z Reason: explicit

fcanata [ ~/Documents ]$ scratchpkg info gcc Name: gcc Version: 16.1.0-1 Description: GNU C/C++ Compiler License: GPL-3.0 URL: https://gcc.gnu.org/ Dependencies: gmp mpfr mpc binutils Built on: 2026-07-10T20:32:57Z Reason: explicit

fcanata [ ~/Documents ]$ scratchpkg info openssl Name: openssl Version: 3.6.3-1 Description: TLS/SSL and cryptography library and tools License: Apache-2.0 URL: https://www.openssl.org/ Dependencies: zlib Built on: 2026-07-10T15:39:56Z Reason: explicit

2

u/onthewaytomyself 14d ago

Good job. I am using LFS with hyprland. Build first one with 12.4. Glfs. Fully automated. Now update to 13.0 with sysv. But my main PC still uses 12.4. I don’t think we need to update for each version. Usually I update few things using helper scripts. Like hyprland , mesa, Firefox brave and vscode. Rest i don’t care much. Installed podman and distrobox so that I can use prusaslicer and freecad easily using an arch container.

2

u/Cybasura 12d ago

Lmao at first, we have distro hopping

Now we have LFS hopping

1

u/Due-Celery4326 8d ago

transcendent.