LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05: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, 06: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, 06:23 PM   #3
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

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, 06:23 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:10 AM.

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