LinuxQuestions.org
Visit Jeremy's Blog.
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 09-09-2008, 09:09 AM   #1
screwdriver
LQ Newbie
 
Registered: Jul 2008
Posts: 13

Rep: Reputation: 0
Purposes of various directories !!


when i installed a software in redhat5 in which directory did the software installed ? (/,/swap,/boot/var/usr or /home)

what are the purposes of the above directories? (/,/swap,/boot/var/usr and /home)
 
Old 09-09-2008, 09:16 AM   #2
CRC123
Member
 
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 32
/ : root directory, it is the parent of EVERYTHING
/boot : holds files/directories related to booting the system (grub, initrd, vmlinuz, etc)
/var : contains variable files that change fairly 'often'
/usr : contains user accessible programs/info (libraries, documentation, binaries, etc)
/home : contains home directories of all users
/swap : I've never seen swap mounted as a filesystem b/c normally it acts as virtual memory

your software is probably in /usr somewhere
 
Old 09-09-2008, 09:21 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
It depends on the software you install; sometimes the files you "install" (copy to your local filesystem) are placed in one place, sometimes into multiple places (for example configuration file(s) in /etc/, program files in /usr/, later created user-configuration in your home directory under /home/, ...)

Your package manager should be able to list the files contained in a package; this way you might (should?) be able to see where the files are copied. Though that depends on the package manager..
 
Old 09-09-2008, 09:22 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
A search for "Linux Directory Structure" in Google returns a LOT of relevant results for that query..

http://www.tuxfiles.org/linuxhelp/linuxdir.html

http://mybeni.rootzilla.de/mybeNi/mX..._structure.jpg

http://linux.omnipotent.net/article.php?article_id=9027
 
Old 09-09-2008, 03:26 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
http://www.pathname.com/fhs/

That's the standard. Not that every distro abides to it, though.
 
Old 09-10-2008, 09:29 AM   #6
s3ns4i
LQ Newbie
 
Registered: Jul 2008
Location: 127.0.0.1
Distribution: RedHat Enterprise
Posts: 12

Rep: Reputation: 0
here is another good site that will help answer your question

tldp.org/LDP/sag/
 
  


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
Packaging software for installation purposes wacki Linux - Software 1 04-30-2008 11:22 AM
Solution for storage purposes Swakoo Linux - General 5 04-25-2008 05:26 PM
Virtualusers for emailing purposes Swakoo Fedora 4 11-21-2006 02:23 AM
Best Linux for...security purposes? :P blackjack90 Linux - Newbie 2 02-01-2006 10:25 AM
Which Distro Would Suit My Purposes Best? johnleemk Linux - Newbie 5 10-02-2003 05:57 AM


All times are GMT -5. The time now is 01:22 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