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.
/optis indeed the right answer, but it is not "widely used" by traditional Unix/Linux software. There are great reasons to split your files in multiple dirs, and also to differenciate/usrfrom/usr/local– MestreLion May 1 at 4:06/usr/bin(or/usr/local/bin) allows your $PATH to reach all software without needing to edit it for each software, a concept that does not exist in Windows – MestreLion May 1 at 4:12