I recently moved to OS X from Windows 7. In Windows, pretty much everything gets installed to C:\Program Files\[application name] or C:\[application name]. In OS X /Applications seems to be roughly equivalent to C:\Program Files for all the consumer apps that I use.
But when it comes to a 'linux too' application (e.g. Python, Postgres, Node JS to name just a few) they seem to get installed all over the place. Only after spending a few minutes guessing and using find did I discover that Postgres executables were installed to /Library/PostgreSQL/9.1/bin/, v8 and Node were in /usr/local/bin. Often times these differ to the equivalent paths that I see Linux users refer to.
Is there a better way to discover where my apps are being installed than by having to use find each time? Shouldn't I be able to predict it with rules of thumb something like 'all database apps should go in /Library' so that's where I know to look for postgres, and 'all compilers and languages go in /usr/local/bin' so that's where I know to look for v8 after it's installed?