I use Linux for 2 years at my work and I still confused where should my installed programs remain. Now I use /opt/<program> e.g. I've installed vim73 from sources there (reason not to use package manager is there is no 7.3 version of VIM in my sources e.g. /etc/apt/sources.list on my Ubuntu).

But all my programs I installed from sources previously are scattered among FS everywhere like PHP 5.3.6 remains in /opt/local/php53, apache in /etc/, vlc in /etc/mutimedia etc.

Is there some convention I can follow?

link|improve this question

67% accept rate
feedback

1 Answer

up vote 5 down vote accepted

Absolutely. It's called the Filesystem Hierarchy Standard.

link|improve this answer
That's it. Thanks. – Nemoden May 25 '11 at 2:00
feedback

Your Answer

 
or
required, but never shown

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