LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Looking for howto on linux directory-structure (https://www.linuxquestions.org/questions/linux-newbie-8/looking-for-howto-on-linux-directory-structure-130023/)

bronko 12-30-2003 06:22 AM

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

Mikessu 12-30-2003 06:27 AM

This might be helpful:
http://www.geocities.com/lunatech300...l/howto_4.html

bronko 12-30-2003 07:06 AM

this was indeed helpful.
thx alot

bR0Nk0

yuray 12-30-2003 08:26 AM

Directory structure and using depend on you distributive.

Mikessu 12-30-2003 06:25 PM

No, it is usually almost same in all distros.

jschiwal 12-30-2003 11:33 PM

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.

slakmagik 12-30-2003 11:55 PM

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.


All times are GMT -5. The time now is 01:11 PM.