LFS base and package manager
Hello everyone, i am planning to build LFS and it's my first time so i have no experience kindly clear out some things.
1- what is the base of LFS or lfs itself is a base does it depends on your host distro? Like if i use ubuntu then it will be deb based? 2- which package managers can be installed in LFS like apt, pacman or snap? How softwares are installed in .deb or arch method? |
1 - lfs is the base
2 - packages are installed by compiling from source, which is the whole point of lfs. if you’re looking for a package management system then look elsewhere https://www.linuxfromscratch.org/lfs...08/pkgmgt.html |
LFS is From Scratch - i.e. there is no base. The host system just provides the starting tools.
Your second question is answered in the FAQ: https://www.linuxfromscratch.org/lfs/faq.html#why-not-package-management Given those questions, what you state in your other thread is incredibly optimistic: Quote:
Likewise, depending on what you mean with "optimize so it gives better performance" - well tweaking config to match your hardware is fine; if your plan is to compete with the likes of Red Hat... that is over-ambitious, given your apparent current experience/skillset. :/ Ambition is fine, but learn to walk before you start planning multiple ultramarathons. |
Some LFS devs have created package managers to help update their system. There's a chapter in the Book about it, which you might want to read.
|
Quote:
Talking about distro there's another approach called remastering an existing distribution using tools like suse studio, linux respin. Is that a better way to create a lightweight distro which gives better performance (memory ,I/O operations, Cpu and GPU benchmark scores) than other distros like ubuntu, if i debloat it, remove packages as much as possible, use xfce and optimize kernel of an existing distro like debian/ubuntu instead of using lfs approach? |
distros are a tradeoff between “debloat” and the ability to run on multiple hardware systems, you have to pick one or the other. the tradeoff with lfs is that it is specifically tailored to run on one hardware system.
|
Quote:
Quote:
I think it's hard to integrate apt in lfs cause it will give massive errors of dependencies and integrating app store like snap seems impossible. And after doing all hectic lfs building it may not give the performance metrics I'm hoping for |
Quote:
What would be better for my case in your opinion? |
Quote:
Remember that your research/writeup of what you do/discover is at least as important as the software itself, that you'll have other work to do during the year, and may well have random unexpected interruptions. Talk to your project tutor and take heed of their advice - they (hopefully) know your capabilities better than anyone here, and should help you with setting an appropriate scope for the project. Also, if you don't understand/agree with them, make sure you talk about it until you're both on the same page. Quote:
Understand what the focus/differences of those are, as well as the similarities, and see if there may be a meaningful niche you can fit into. Ideally you should have a basic understanding of those before you talk to your tutor. |
since it’s a bachelors project, i personally would be looking to duplicate something that already exists rather than create something that developers with decades of experience struggle with.
personally i would look to create a basic linux installation with a base system, a window manager, and a web browser, then build a live usb iso that works on a couple similar hardware configurations. lfs will work great for this and you’ll learn much about the inner workings of the system and some of the tradeoffs involved in developing a distro. but that’s just what i would do knowing what i know now, and i haven’t been in college for over twenty years so i can’t really say what you should do. what does your advisor say? |
Quote:
|
Quote:
|
Debian can be a reasonable base, but not its default Gnome Desktop Environment which is relatively heavy.
AntiX is a Debian derivative with just a Window Manager (or even no X/GUI at all), systemd removed, and some other changes. MXLinux is a Debian/AntiX derivative that uses Xfce. Both MX Linux and AntiX can use MX Snapshot which can remaster the running session into a new ISO - potentially useful for creating something specific to install on the lab PCs. |
Quote:
Yes gnome is pretty heavy, If i use debian I'll choose xfce, and don't you think so starting from antiX would not be considered as work done from my side since it's already debloated and lightweight i mean which things i have to change if respin antiX |
Quote:
Quote:
Maybe a project that sets out what the aims are, then explores/analyses the different potential base distros, what the pros/cons of each would be, describing how you determine the suitability, and so on - but I don't know if that could be made "meaty" enough. |
All times are GMT -5. The time now is 08:40 PM. |