LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Installing software in blfs (http://www.linuxquestions.org/questions/linux-from-scratch-13/installing-software-in-blfs-927568/)

ubuntudude12 02-04-2012 08:12 AM

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

spiky0011 02-04-2012 08:27 AM

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.

ubuntudude12 02-04-2012 08:29 AM

Quote:

Originally Posted by spiky0011 (Post 4593622)
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?

spiky0011 02-04-2012 08:34 AM

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.

stoat 02-09-2012 08:46 PM

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.

druuna 02-10-2012 03:30 AM

Hi,
Quote:

Originally Posted by stoat (Post 4598583)
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.

stoat 02-10-2012 09:04 AM

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.

stoat 04-13-2012 10:17 PM

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.


All times are GMT -5. The time now is 10:28 AM.