LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Chapter 5 (After installing each package, delete its source and build directories) (http://www.linuxquestions.org/questions/linux-from-scratch-13/chapter-5-after-installing-each-package-delete-its-source-and-build-directories-636029/)

brayden516 04-17-2008 12:28 PM

Chapter 5 (After installing each package, delete its source and build directories)
 
Hi, I understand removing the source directory but not sure why I would remove the build directory, if someone could help me understand this, I would appreaciate it.


Thanks

ophirg 04-17-2008 12:43 PM

after you do "make install", the built files(with other files) are copied to a different location and installed on your system for all users to use.
for example, most binary executable files are copied to "/usr/bin/<file>" and the man pages files are copied to "/usr/share/man/...".
the exact location changes from distribution to distribution(my examples are for openSUSE) but they always should be outside your home directory.
btw, that's why you need root permissions to do "make install" and why you don't need root permissions to do "./configure" and "make".

hope that helps

brayden516 04-17-2008 12:50 PM

that helps greatly.


Thanks for your reply.


All times are GMT -5. The time now is 05:24 PM.