LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-22-2004, 06:50 PM   #1
ShakyJake
Member
 
Registered: Apr 2003
Location: USA
Distribution: Gentoo
Posts: 55

Rep: Reputation: 15
Where do I put stuff?


Been using Linux (Slackware 9.1) for a few weeks now. Something I haven't quite understood is what's considered the "standard" directories to place programs and user data?

For example, in Windows programs are typically installed in the "Program Files" directory. Documents are slapped into My Documents, etc. What are the equivalent directories in Linux? I've noticed most programs default to /home or /usr/local, but I'd like to know what is typically considered the "standard" place to install/keep things.

Thanks.
 
Old 06-22-2004, 07:22 PM   #2
Corran
LQ Newbie
 
Registered: Jun 2004
Location: England
Distribution: SuSE 9.1 Professional
Posts: 7

Rep: Reputation: 0
For user specific stuff it is often put into /home/<user> for example your KDE settings are probably stored in /home/<user>/.kde . You'll find a lot of directories in there with /. beginings. However programs dont often put the executables in there they, as you found out usually go in /usr/local and its sub-directories.

These might help:
http://www.pcquest.com/content/linux.../102031504.asp
http://www.geocities.com/lunatech300...l/howto_4.html
http://www.vbportal.com/modules.php?...ticle&artid=17

A simple googling pulled these up so there might be better friendly documentation somewhere.
 
Old 06-22-2004, 07:23 PM   #3
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
/home/<user> is the Linux equivalent of My Documents, and /usr/local/ is kind of like a Program Files directory. Generally software you add goes there, but you can install things in other locations. Some like to install Mozilla in their /home directory as well as other user specific apps, but it isn't necessary with the permissions system in Linux.
 
Old 06-22-2004, 07:23 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Have a look here:
http://www.pathname.com/fhs/pub/fhs-2.3.html

Not every distro uses these directories (e.g. there is no /opt in RedHat), and different people prefer different methods, but that page is supposed to be the standard.

Dave
 
  


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
Put /proc and /var into a ramdisk, but other stuff on drive? mabrodis Linux - General 2 01-12-2005 08:24 PM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 05:37 PM
How much stuff have I put into burn:/// ??? Jim Miller Linux - Distributions 3 08-15-2003 09:59 AM
put stuff lacrimae Linux - Software 1 03-04-2002 05:54 PM
PCTel driver questions (tryin' to put stuff together) jmerriman Linux - Newbie 3 05-01-2001 09:59 PM


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