Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-01-2007, 02:45 AM   #1
LQ Newbie
Registered: Jun 2007
Posts: 6

Rep: Reputation: 0
linux packages

Hello everyone,

I hope this is the right place for my question. I love playing with linux from scratch, but I hate to loose 1 day to start over the compilation every time that I make some big mistake. Thus, I started thinking to an installer. My question is:
When do I have to get the binary files of the various packages? Before or after the chroot? It is possible to compile the various packages on any distro and then put all together?

Thanks in advance.

P.S.: Sorry for my poor english.
Old 12-02-2007, 12:49 PM   #2
Registered: Jan 2006
Distribution: Ubuntu 9.04, Fedora 10
Posts: 76

Rep: Reputation: 17
During my shot at it, I did make many a mistake, but only had to go back and recompile the packages I made a mistake on. And the idea of LFS is to use a distro (such as their live disk) to compile all the packages into a temporary tool kit, then chroot into the new environment, then compile (and, in many cases, recompile) everything into their final location. As long as you keep the compiled source, you can always uninstall it, reconfigure it, then reinstall it to fix any problems with that particular install.

So, to answer your question, you compile the binaries both before AND after chrooting into the new environment, and you do use another distro to compile the source into binaries from the host distro, but making the newly compiled ones supersede those of the host.


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
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 12:36 PM
LXer: DistroWatch Weekly: Linux in New Caledonia, Extra Packages for Enterprise Linux LXer Syndicated Linux News 0 07-30-2007 07:46 AM
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 09:36 AM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 10:43 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 07:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:47 AM.

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