LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-30-2003, 07:22 AM   #1
bronko
Member
 
Registered: Dec 2003
Distribution: Debian/unstable
Posts: 30

Rep: Reputation: 15
Looking for howto on linux directory-structure


Hi...

can anyone post a link to a good howto, explaining how the directories are correctly used in linux?
I'm often not sure, where to install programs etc....

thx, regards and happy new year
bR0Nk0
 
Old 12-30-2003, 07:27 AM   #2
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Rep: Reputation: 15
This might be helpful:
http://www.geocities.com/lunatech300...l/howto_4.html
 
Old 12-30-2003, 08:06 AM   #3
bronko
Member
 
Registered: Dec 2003
Distribution: Debian/unstable
Posts: 30

Original Poster
Rep: Reputation: 15
this was indeed helpful.
thx alot

bR0Nk0
 
Old 12-30-2003, 09:26 AM   #4
yuray
Member
 
Registered: Apr 2003
Location: Russia, Khotkovo
Distribution: Debian
Posts: 146

Rep: Reputation: 15
Directory structure and using depend on you distributive.
 
Old 12-30-2003, 07:25 PM   #5
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Rep: Reputation: 15
No, it is usually almost same in all distros.
 
Old 12-31-2003, 12:33 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Here is a link to a pdf reference manual for the "Filesystem Hierarchy Standard"
http://www.pathname.com/fhs/pub/fhs-2.2.pdf

Normally, when you install a program from a source tarball, the last step is to as root, type: make install. This will install the software components were they need to go.
 
Old 12-31-2003, 12:55 AM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally posted by Mikessu
No, it is usually almost same in all distros.
In a general sense it's true - everybody's got an /etc - but in details only certain things are consistent or compliant and a lot of things are not. I mean, even at a root level, Debian tends to want to create mount point directories for removable drives in /, while most put them under /mnt, and some don't put them anywhere but leave it to the user. The /opt, /usr, /usr/local areas are particularly fuzzy from distro to distro.

As far as where to install programs, packages often go where they want to go and I redirect source compiles (except on Gentoo, where everything is) to /usr/local - which is where they're supposed to go by default but not all do.

For the home user, it hardly matters, though - most of Linux's directory structure is overly complex and dependent on multi-user multi-machine assumptions with users who can't be root and so on. Still, Slackware won't clobber /usr/local in an upgrade, iirc.
 
  


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
Linux Directory Structure Swakoo Linux - Newbie 2 07-19-2005 10:23 AM
Linux Directory Structure Boffy Linux - General 9 11-01-2004 02:50 PM
Directory structure in linux hero Linux - Newbie 1 09-04-2003 04:55 AM
Linux Directory Structure cmfarley19 Linux - General 1 01-03-2003 09:20 AM
Some basic knowledge of Linux regarding directory structure chem1 Linux - Newbie 3 08-11-2002 12:39 AM


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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration