Welcome to the most active Linux Forum on the web.
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 10-04-2003, 09:32 PM   #1
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Ubuntu, Mepis
Posts: 71

Rep: Reputation: 15
Question 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?
Old 10-04-2003, 10:08 PM   #2
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
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.
Old 10-05-2003, 04:35 AM   #3
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
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.
Old 10-05-2003, 04:37 AM   #4
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
yea I keep all mine in a file under user called RPMS


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
Does size matter? emiphiste General 8 11-02-2005 06:12 AM
Is this a serious matter ? apache Linux - Software 0 07-08-2004 04:47 AM
After Tarball then what ? sevvy8 Linux - Newbie 2 03-29-2004 04:41 AM
Tarball? HardcoreGamer Linux - Software 4 02-12-2003 03:26 PM
grub matter huno Linux - General 1 11-22-2002 09:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration