What are the "standards" — should I put application (not just binary, but entire distribution) to /usr/local or /usr/local/share.
For example scala or weka — it contains examples, binaries, libraries, and so on. So it would be
/usr/local/scala-2.9.1
or
/usr/local/share/scala-2.9.1
Since I am the only admin it is not a big deal for me, but I prefer to using something which is widely used, not with my own customs.
Important: I am not asking about cases, where you should split app into /usr/local/bin, /usr/local/lib and so on. Rather I am asking about case when you have to keep one main directory for entire application.
Best Answer
I think /opt is more standard in this sort of context. The relevant section in the Filesystem Hierarchy Standard is quoted below.