LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-26-2007, 05:22 PM   #1
Rustylinux
Member
 
Registered: Mar 2006
Posts: 177

Rep: Reputation: 30
Best place to install applications / Best file practices


Where is the "proper" (for lack of a better word) place to untar or
unzip an archive? I've been downloading to /tmp and then ungzip /taring them into subdirectories under /tmp/.

I configure, make, make install,and then just sit tight until the files that aren't being accessed get dumped from /tmp. Is this the right way or should I put them under/usr/local?
 
Old 03-26-2007, 07:27 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by Rustylinux
Where is the "proper" (for lack of a better word) place to untar or
unzip an archive? I've been downloading to /tmp and then ungzip /taring them into subdirectories under /tmp/.

I configure, make, make install,and then just sit tight until the files that aren't being accessed get dumped from /tmp. Is this the right way or should I put them under/usr/local?
Usually anything I compile from source is kept in /usr/local/src as /tmp can be cleaned or wiped from time to time on most systems, hence the reason it's called tmp, for temporary files.

In most cases, /usr/local/src is for applications for all users and /usr/src is for programs just for root. But it's your machine, there's nothing saying you do is wrong, it's just a matter of preferences and opinion really.
 
Old 03-26-2007, 11:25 PM   #3
epoo
Member
 
Registered: Aug 2003
Distribution: slackware 11, ubuntu 7.04
Posts: 165

Rep: Reputation: 30
i do almost everything in my /home directory - download files, untar archives, compile, etc. im the only one that uses my pc, but after i untar/make/install an app, the source and tar files get thrown in the trash. i rarely ever use them after that, and if i do end up needing them i can easily download it again.

but like trickykid said, its your machine, do whatever makes sense to you.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will my XF86Config file work in place of xorg.conf file BillyGalbreath Linux - General 2 03-08-2006 06:18 AM
how to place the output of compilation to some file (gcc) mlaich Programming 2 12-13-2005 05:52 PM
force grep to keep it's place in file for next iteration? jeffreybluml Programming 7 05-13-2005 10:16 AM
symlinks are corrupted even thought the destination file is on its place jogurt666 Linux - General 5 12-19-2003 01:20 PM
Best place to install applications Thomas_Delrue Linux - Software 2 07-10-2001 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration