Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

Gentoo vs LFS: from which you learned more about linux?

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
33 posts
  • 1
  • 2
  • Next

Have you tried LFS?

Yes
29
25%
Not yet, but will give it a try in the future
27
23%
Why bother
60
52%
 
Total votes: 116
Your vote has been cast.

Author
Message
Hauser
l33t
l33t
User avatar
Posts: 650
Joined: Sat Dec 27, 2003 9:19 pm
Location: 4-dimensional hyperplane

Gentoo vs LFS: from which you learned more about linux?

  • Quote

Post by Hauser » Wed Jan 25, 2006 10:06 am

Some LFS users claim they learn things about linux when they build LFS, while installing Gentoo means they have to learn things about Gentoo, not linux. I have tried LFS before, but I don't think I really learned that much. I certainly learned a lot about the contents of and the relationship between those system packages, but as a user I don't feel this kind of knowledge will be of much use. While LFS gives users more control over their systems, Gentoo gives enough IMHO.

I didn't really use the LFS I built, so I cannot say much about what it is like to maintain a LFS, maybe experienced LFS users here could give us a more complete picture?
Last edited by Hauser on Wed Feb 01, 2006 8:16 am, edited 2 times in total.
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Top
alistair
Retired Dev
Retired Dev
User avatar
Posts: 869
Joined: Fri Jul 15, 2005 12:53 am

  • Quote

Post by alistair » Wed Jan 25, 2006 10:28 am

The only thing gentoo specific I can really think of is portage (and its related packages).

What they provide is the ability to learn linux without the hassle of manual compulation. IMHO.

Take php for example. in gentoo u can set lots of different USE flags for databases mcrypt etc etc etc. In LFS you would have to dl php then look at its compile options then get (and compile) the ones u want (plus looking at their compile options to make sure u have all the functionality u want) before u compile php. That is 50%+ more effort for <10% gain (from the learning perspective)
______________
Help the gentoo-java project. Visit Gentoo Java Project

what good are admin powers if you don't abuse them for personal gain - mark_alec
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

  • Quote

Post by Maedhros » Wed Jan 25, 2006 10:48 am

I learnt a lot about how the components in a GNU/Linux system fit together because of LFS. I also learnt that package managers are a good thing, and that trying to run a system without one quickly becomes very frustrating. :wink:
No-one's more important than the earthworm.
Top
frenkel
Veteran
Veteran
User avatar
Posts: 1034
Joined: Tue May 13, 2003 5:08 pm
Location: .nl
Contact:
Contact frenkel
Website

  • Quote

Post by frenkel » Wed Jan 25, 2006 11:08 am

Maedhros wrote:I learnt a lot about how the components in a GNU/Linux system fit together because of LFS. I also learnt that package managers are a good thing, and that trying to run a system without one quickly becomes very frustrating. :wink:
Lol, yes, I found that out myself. First I thought I didn't need one. But after a few weeks I ended up writing one myself. I didn't like it, because it was still hard to keep everything up to date. Switched back to Gentoo for an obvious reason: Portage :P
Top
diilbert
n00b
n00b
User avatar
Posts: 52
Joined: Mon Sep 05, 2005 12:08 pm

  • Quote

Post by diilbert » Wed Jan 25, 2006 5:49 pm

I have no reason to try. Gentoo is all I need to gain Linux experience. Plus from what I understand from past comparisons, LFS is Gentoo w/o a package manager. And what would I do without a package manager 8)
Top
tost
Guru
Guru
User avatar
Posts: 506
Joined: Sat Dec 10, 2005 11:06 pm

  • Quote

Post by tost » Wed Jan 25, 2006 5:57 pm

I choose the second possibility.

Of course i love Gentoo, it´s everything i need and Portage is really great ;-)

Nevertheless i´ll try to understand LFS and may i´ll use it for a while.
But i can imagine how hard it would be without a package mangager.

Do i need a very well memory ? Or learn writing my own package-manager ?
I am glad if i know which software is being installed without the knowledge of portage :oops:

tost
Top
frenkel
Veteran
Veteran
User avatar
Posts: 1034
Joined: Tue May 13, 2003 5:08 pm
Location: .nl
Contact:
Contact frenkel
Website

  • Quote

Post by frenkel » Wed Jan 25, 2006 6:26 pm

tost wrote:I choose the second possibility.

Of course i love Gentoo, it´s everything i need and Portage is really great ;-)

Nevertheless i´ll try to understand LFS and may i´ll use it for a while.
But i can imagine how hard it would be without a package mangager.

Do i need a very well memory ? Or learn writing my own package-manager ?
I am glad if i know which software is being installed without the knowledge of portage :oops:

tost
Well, I started by writing everything I installed in a file, by hand. This way you at least know what is installed and what versions. Next thing I did was keeping al the source files, so I could run make uninstall or similair to uninstall packages or to upgrade.
Top
Hauser
l33t
l33t
User avatar
Posts: 650
Joined: Sat Dec 27, 2003 9:19 pm
Location: 4-dimensional hyperplane

  • Quote

Post by Hauser » Wed Jan 25, 2006 6:29 pm

tost wrote:...
Nevertheless i´ll try to understand LFS and may i´ll use it for a while.
...
To use it, an LFS is not enough, you need to proceed to BLFS as well. :wink:
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Top
Hauser
l33t
l33t
User avatar
Posts: 650
Joined: Sat Dec 27, 2003 9:19 pm
Location: 4-dimensional hyperplane

  • Quote

Post by Hauser » Wed Jan 25, 2006 6:35 pm

frenkel wrote:...
Well, I started by writing everything I installed in a file, by hand. This way you at least know what is installed and what versions.
...
Same here, including all the commands. When you finish, you will actually get a collection of scripts which you can use to reinstall the system semi-automatically. :)
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Top
tost
Guru
Guru
User avatar
Posts: 506
Joined: Sat Dec 10, 2005 11:06 pm

  • Quote

Post by tost » Wed Jan 25, 2006 7:20 pm

I guess this file gets very huge ;-)
you will actually get a collection of scripts which you can use to reinstall the system semi-automatically.
That´s the point, so I´ll wait till I have some more skills in Python or any other language ;-)

tost
Top
ag_x
Tux's lil' helper
Tux's lil' helper
Posts: 142
Joined: Fri Jun 11, 2004 9:54 am
Location: Self Sarkarm.

  • Quote

Post by ag_x » Fri Jan 27, 2006 2:05 am

I think there is a common misconception here.

Let's be honest.
You don't actually gain knowledge by building LFS (copy/paste is all you do at your first build or even the second one) :) ,but is when you finally decide to maintain an LFS system,which is a pretty hard at the beggining,i have to confess.

Then you have to face the cruel reality,because suddenly you realize that you can't rely to portage to build the system for you,or you have noone to depend on him to update the packages,so what you do?

1.You have to write your own scripts.That's a gain,considerable maybe but not an important one (I wrote my own bash scripts -quite effective to be honest - but that doesn't make me a bash expert,ok).
2.You have to learn the use of every single package,to grep the Makefiles for dependencies and to choose what you actually want,to read the changelogs etc... but things that everyone who is willing to learn,can do in every distribution (oh well in almost every distribution) :)
3.Then you have to find ways to monitor the packages for updates,but you can't really consider it like an educational task,can you?

So what is the reason i am staying in LFS for more than one year now?

Although unquestionable gentoo is the most flexible distribution out there (USE FLAGS),LFS clearly wins in that regard (although i am always considering LFS most like a research project,rather as a distribution), for the simple reason that the choice is all and *only* yours (portage can be a really pain sometimes,especially when you mix stable/unstable branches).
Common LFS moto:Your distro,Your rules.

The development process is rather quick,especially in the development Books (they are in gcc-4* series since the middle of summer),and without a simple breakage so far,in almost 20 builds in various branches I made.

And there is this very personal reason.
I like the L(B)FS croud,editors (quite knowledgeable) and userbase.
Sometimes friendly,sometimes extreme and rude (well sometimes),but always enjoyable and to the point.

To sum it up,you don't gain more knowledge doing LFS more than gentoo already gives you,is just a personal preference,i guess and nothing more.
Top
warrens
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Tue Jan 04, 2005 11:19 pm
Location: Don't Tread On Me!

  • Quote

Post by warrens » Tue Jan 31, 2006 5:26 pm

I used LFS for about 6 months before finding out about Gentoo. The one thing that I learned from LFS that I was not able to learn on any other distro was how to correctly build the tool chain. The lack of a package manager is the main reason that I left LFS. LFS is a great system once you get every thing built, but udating the system was in a word, painful. Now I am a dedicated Gentoo user that has writen my own install guide using what I learned from LFS and Gentoo. (Link to my guide is in my sig.) Now I have the best of both worlds, a tool chain built according to the principles that learned with LFS, and the power of portage to manage all of my packages. :D
[The bigger the government, the smaller the citizen.

Don't tread on me!!!

The best government is the government that governs least.
Top
Hauser
l33t
l33t
User avatar
Posts: 650
Joined: Sat Dec 27, 2003 9:19 pm
Location: 4-dimensional hyperplane

  • Quote

Post by Hauser » Tue Jan 31, 2006 6:49 pm

warrens wrote:...Now I have the best of both worlds, a tool chain built according to the principles that learned with LFS, and the power of portage to manage all of my packages. :D
Are you saying that you emerged your tool chain packages one by one manually according to the order presented in the LFS handbook instead of using Gentoo's bootstrap script? :?:
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Top
warrens
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Tue Jan 04, 2005 11:19 pm
Location: Don't Tread On Me!

  • Quote

Post by warrens » Wed Feb 01, 2006 5:11 am

Hauser wrote:Are you saying that you emerged your tool chain packages one by one manually according to the order presented in the LFS handbook instead of using Gentoo's bootstrap script? :?:
Yes, using the --nodeps option for the LFS book, chap. 5 packages. :)
[The bigger the government, the smaller the citizen.

Don't tread on me!!!

The best government is the government that governs least.
Top
EzInKy
Veteran
Veteran
User avatar
Posts: 1742
Joined: Fri Oct 11, 2002 10:24 pm
Location: Kentucky

  • Quote

Post by EzInKy » Wed Feb 01, 2006 5:42 am

LFS is a great learning experience and I encourage everyone to try to build one at least once because it teaches how the seperate components that make up Linux system come together to form an operating system. I've built it a couple of times on x86 boxes and will probably try it again sometime on my opteron machine.
Time is what keeps everything from happening all at once.
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Wed Feb 01, 2006 5:54 am

Title <-> Poll mismatch.
Quis separabit? Quo animo?
Top
Hauser
l33t
l33t
User avatar
Posts: 650
Joined: Sat Dec 27, 2003 9:19 pm
Location: 4-dimensional hyperplane

  • Quote

Post by Hauser » Wed Feb 01, 2006 8:12 am

pjp wrote:Title <-> Poll mismatch.
It's actually a topic + a poll, because I want to focus on the learning experience. :wink:
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Top
placeholder
Advocate
Advocate
Posts: 2500
Joined: Sat Feb 07, 2004 12:15 am

  • Quote

Post by placeholder » Wed Feb 01, 2006 8:51 am

I went from Gentoo to Arch because compiling became old, so nah.
Top
kohno
Tux's lil' helper
Tux's lil' helper
Posts: 112
Joined: Sat Aug 28, 2004 4:12 am

  • Quote

Post by kohno » Tue Feb 07, 2006 7:46 am

Is an LFS system the same as a Gentoo stage4? :?:
Top
psyqil
Advocate
Advocate
User avatar
Posts: 2767
Joined: Mon May 26, 2003 8:17 pm

  • Quote

Post by psyqil » Tue Feb 07, 2006 8:01 am

kohno wrote:Is an LFS system the same as a Gentoo stage4?
No, it's like stage0...
Top
kohno
Tux's lil' helper
Tux's lil' helper
Posts: 112
Joined: Sat Aug 28, 2004 4:12 am

  • Quote

Post by kohno » Tue Feb 07, 2006 8:06 am

psyqil wrote:
kohno wrote:Is an LFS system the same as a Gentoo stage4?
No, it's like stage0...
You mean an LFS system is not even bootable?
Top
freegianghu
n00b
n00b
User avatar
Posts: 12
Joined: Tue Feb 08, 2005 5:18 am

  • Quote

Post by freegianghu » Tue Feb 07, 2006 9:22 am

kohno wrote:
psyqil wrote:
kohno wrote:Is an LFS system the same as a Gentoo stage4?
No, it's like stage0...
You mean an LFS system is not even bootable?
You should give it a try, you may like it ;-)

Cheers,
GH.
Top
batistuta
Veteran
Veteran
User avatar
Posts: 1384
Joined: Fri Jul 29, 2005 3:54 pm
Location: Aachen

  • Quote

Post by batistuta » Tue Feb 07, 2006 9:30 am

I've started with LFS once and quickly gave up. I've started one day with Gentoo and never gave up. The former one frustated me, the later one motivated me. My experience is that there is usually a tradeoff between suffering and learning. The one for Gentoo payed off for me, the one for LFS didn't. Basically I believe that with Gentoo, some compilation will eventually crash one day and you will learn somehow the idea of package dependencies. In LFS, you will not just learn it, you will agonize with it.

As someone pointed out, you will learn more with LFS, but the question is whether is worth it. For me, <10% return is not worth the 200% more time invested. Bit in the end, it's all a matter of personal choice and how you use your time and how deep you want to get on things...
Top
Fleta
n00b
n00b
User avatar
Posts: 68
Joined: Sun Dec 12, 2004 4:55 pm

  • Quote

Post by Fleta » Tue Feb 14, 2006 8:01 am

The problem is that many things you learn from LFS are not really useful for an end user. For example, how to build a toolchain correctly; unless you want to build your own distribution, this kind of knowledge will be of no use.
Top
playfool
l33t
l33t
User avatar
Posts: 688
Joined: Tue Jun 01, 2004 12:49 am
Location: Århus, Denmark

  • Quote

Post by playfool » Tue Feb 14, 2006 8:54 am

I ran LFS for about a year, all it taught me was ./configure && make && make install
My blog

Proud supporter of The EFF, The FSF and The Triad of Reason.
Top
Post Reply
  • Print view

33 posts
  • 1
  • 2
  • Next

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic