LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Does it matter where you extract a tarball? (https://www.linuxquestions.org/questions/linux-newbie-8/does-it-matter-where-you-extract-a-tarball-100313/)

john_walsh54 10-04-2003 08:32 PM

Does it matter where you extract a tarball?
 
I have read on the net that a tarball should always be extracted from /usr/src Is this correct?
I thought it doesn't matter as long as you are in the "tarball directory when you run configure make etc? READMEs don't seem to specify locations so does it make a difference?

quatsch 10-04-2003 09:08 PM

it doesn't really matter for purposes of compilation. But you might want to maintain some organization on your system and have all your sources under /usr/src. Makes it easier to find later.

scott_R 10-05-2003 03:35 AM

Actually, I prefer to extract them into a user directory (/home/myself/downloads). This way, I don't have to be root to extract them to where they're going. Then, I can read the README files that come with the tarball, and decide if/how I really want to install it, all while keeping some security with my system. Also, once a file's been compiled and installed and works well, it's often pointless to keep the tarball. (There's likely a newer version by the time you decide to reinstall it.) So, making a "permanent" entry into /usr/src seems pointless to me, in most cases.

When I want to compile/install them, I just 'su' to root and do so.

/usr/src was a great idea before faster connections (56k was fast, no, FAST, way back when). Now, with cvs and rsync, having a permanent copy in a root-owned directory seems like a bad thing, especially when makefiles and the like allow you to adjust every property available to a program.

ehdwuld 10-05-2003 03:37 AM

yea I keep all mine in a file under user called RPMS


All times are GMT -5. The time now is 01:43 AM.