LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-30-2003, 06: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, 06: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, 07: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, 08: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, 06: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-30-2003, 11:33 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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-30-2003, 11:55 PM   #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



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

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

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