LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux packages (https://www.linuxquestions.org/questions/linux-newbie-8/linux-packages-603678/)

deadhorus 12-01-2007 01:45 AM

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.

Slokunshialgo 12-02-2007 11:49 AM

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.


All times are GMT -5. The time now is 11:19 PM.