Also, if you have a program that doesn't install through an RPM, etc. but through it own installer like Netbeans or the Java JDK in Linux, a good place to install it is in the /opt directory.
What I do about source compilation is I place it in /tmp, compile it from there, install, etc. and then remove it.
I want to start moving them to /usr/local/src or something.