Linux Software Installs
Question regarding how software is installed in Linux, that being where does it go? Unless I'm mistaken, when you install a program in linux, you can either use a package (rpm) or compile it on your computer using the source code. When you do, where does the program run from? Is this like the glory days of DOS where everything stays in it's own directory, or does stuff get copied to other places on the hard drive, like the Program Files in windoze? Is there a registry type thing? While I'm on the topic, where are programs stored for various distros for that matter. Is it all in /usr or /etc?
Any info would be appreciated. Thanks!