LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 02-04-2012, 08:12 AM   #1
ubuntudude12
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Rep: Reputation: Disabled
Arrow Installing software in blfs


Hi,

I have just finished my first LFS system, and I am moving on to BLFS. I am not clear on how you should install software. If you just execute the commands for a given package, won't that install the package on your host system, rather than your LFS system?
I am also wondering about mounting the LFS partitons. At the end of the LFS book, you are told to unmount all of them. Should you remount them in /mnt/lfs for BLFS, or something elese? Sorry I haven't figured this out yet, this is my first time with Linux From Scratch.

-Aaron

Last edited by ubuntudude12; 02-04-2012 at 08:15 AM. Reason: Added more information
 
Old 02-04-2012, 08:27 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,656
Blog Entries: 1

Rep: Reputation: 242Reputation: 242Reputation: 242
Hi

As you can now boot into your lfs system that is it you are now seperate from your host system,
So now you should have a choice to boot Ubuntu (host) or lfs.
 
Old 02-04-2012, 08:29 AM   #3
ubuntudude12
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
Hi

As you can now boot into your lfs system that is it you are now seperate from your host system,
So now you should have a choice to boot Ubuntu (host) or lfs.
So I should be performing the commands in the BLFS book on my completed LFS system?
 
Old 02-04-2012, 08:34 AM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,656
Blog Entries: 1

Rep: Reputation: 242Reputation: 242Reputation: 242
Yes, Do the 1st three chapters, then find what you want/need for your system, the rest dont need to be installed in any order, BUT do make sure the dependencies are installed for the packages you want.
When you get to installing X the whole of chapter 23 needs to be done, i think that covers it for now.
 
1 members found this post helpful.
Old 02-09-2012, 08:46 PM   #5
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 467

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by ubuntudude12

So I should be performing the commands in the BLFS book on my completed LFS system?
Just for another perspective to consider, I prefer to continue on into the BLFS book still using the chroot environment in the host system until after I have installed Xorg, a window manager, and a browser. The simple reason is so I can install those components by continuing to copy and paste commands from the book using the host system's browser. From the moment that I can read the book in the LFS system's new browser, I don't use the host system anymore.

As spiky0011 said, I start out with the first three chapters and selected parts of chapter 4 (the security stuff). Then I move straight down to chapter 23 to install Xorg. Then Fluxbox and Opera. Then I install everything else I need from a terminal in the LFS system.

Not arguing. We're just talking here.
 
Old 02-10-2012, 03:30 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,
Quote:
Originally Posted by stoat View Post
Just for another perspective to consider, I prefer to continue on into the BLFS book still using the chroot environment in the host system until after I have installed Xorg, a window manager, and a browser. The simple reason is so I can install those components by continuing to copy and paste commands from the book using the host system's browser. From the moment that I can read the book in the LFS system's new browser, I don't use the host system anymore.
First 3 packages I install after finishing an LFS build: gpm, lynx and wget (all from the BLFS book), which gives me the possibility to browse, copy/paste and get files/info from the Internet while running the newly created LFS.

This removes the need to use (parts of) the host when building BLFS, which is a possible downside when building BLFS from your host in a chrooted environment. The host parts I'm talking about are mainly the kernel and everything in /dev.
 
Old 02-10-2012, 09:04 AM   #7
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 467

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by druuna

First 3 packages I install after finishing an LFS build: gpm, lynx and wget (all from the BLFS book), which gives me the possibility to browse, copy/paste and get files/info from the Internet while running the newly created LFS.
Thanks. I am planning to rebuild very soon and will use that idea for it.
 
Old 04-13-2012, 10:17 PM   #8
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 467

Rep: Reputation: 133Reputation: 133
I wanted to add to the record here that I have started building my fourth BLFS system and am trying drunna's suggestion to install GPM, Lynx, and wget as the first applications in the new base LFS system. It works for me. Thanks. In the new LFS system, I can read the book with Lynx in one console and my notes with vi in another console. And I can use the mouse to copy and paste as needed from those two to a bash prompt in a third console. That's all I needed.
 
  


Reply

Tags
blfs, lfs, start


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removeing/upgrading software from blfs spiky0011 Linux From Scratch 4 11-22-2011 12:35 PM
A good order to use when installing stuff from BLFS? + another question BrandonJ Linux From Scratch 4 06-07-2011 07:22 PM
Building Software as an Unprivileged (non-root) User?? BLFS poisoning Linux From Scratch 2 03-30-2011 10:02 AM
[SOLVED] pure 32 bit LFS Version SVN-20110110 trouble installing libX11 in BLFS mcamp73 Linux From Scratch 4 01-22-2011 03:42 AM
[BLFS] Problem installing GConf-2.10.0 mr_demilord Linux From Scratch 1 10-15-2005 11:17 PM


All times are GMT -5. The time now is 08:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration