Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 04-17-2008, 11:28 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 8

Rep: Reputation: 0
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.

Old 04-17-2008, 11:43 AM   #2
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
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
Old 04-17-2008, 11:50 AM   #3
LQ Newbie
Registered: Apr 2008
Posts: 8

Original Poster
Rep: Reputation: 0
that helps greatly.

Thanks for your reply.


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
Possible to build deb package from source files? davidas Debian 9 12-09-2006 06:27 PM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 09:30 AM
Installing php package after installing from source shubb Slackware 4 03-14-2006 10:19 AM
in Book 6.0, chapter 6, where do I build the sources? microsoft/linux Linux From Scratch 2 07-18-2005 08:30 AM
chapter 5 - bash won't build shaurz Linux From Scratch 3 02-05-2003 04:00 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:52 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration