Where can I find an explanation of directory names used in Ubuntu (the whole tree)?

  • Why etc?
  • When do I put my files in /usr/local when in /home/usr when in /usr/local/bin and when in /var/lib/ or /bin?

Is there any rule, that tells when I have program x, it for sure must be placed here, and it's config files are here and data there.

link|improve this question

feedback

2 Answers

up vote 4 down vote accepted

The questions you're asking are answered in the hier(7) man page. See http://manpages.ubuntu.com/manpages/lucid/en/man7/hier.7.html for an online version.

link|improve this answer
feedback

look at File System Hierarchy Standard

also LSB spec can be helpful.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.