Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 10 down vote accepted

Absolutely. It's called the Filesystem Hierarchy Standard.

share|improve this answer
That's it. Thanks. – Nemoden May 25 '11 at 2:00
So to answer the question, according to the FHS linked above you should install programs in /opt. – Air Feb 23 '14 at 15:20
@Air Thanks, saved me 2 weeks of reading. – Luke Puplett Mar 13 '14 at 17:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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