Originally Posted by JR67
When I download a program from the Internet, what folder should I download the program to? I have downloaded things for the web server and placed them into the html folder with no problems.
I am mainly asking about programs that run inside of Linux. I am using Mandrake 9.2 on one box and Ubuntu on the other.
Any information will be greatly appreciated.
Let's distinguish between "download" and "install". Either one can go anywher you wnat, but here are some conventions:
Downloads in a folder called "downloads" in your home directory.
If you install using the GUI package manager--eg Synaptic--then stay with the defaults. The executables will likely go into /usr/bin or /usr/<something>
If you use rpm, apt, etc at the command-line to install, also take the defaults
Similar answer for compiling.
Stuff that does not fit--put in /opt
You can also have a folder of executables in the home directory. This is where I put--eg--scripts.