I understand that in Windows as well as Linux and Unix, a program|application|software can be installed in any directory. Also if packages are installed using the distribution's packaging system, it'll place files in the correct location.
But at times, a software installation prompts for a path to place files. In case of a Linux distro where is this default place (C:\Program Files
or C:\progra~1
equivalent)? Is it different for various distributions? If yes, where would this be for RHEL
, Suse
and Ubuntu
?
Best Answer
The Linux Documentation Project has a description of the Linux filesystem hierarchy where they explain the different folders and their (partly historical) meaning.
As xenoterracide already pointed out
/bin
and/opt
are the standard directories which can be compared to "Program Files" on Windows.(quoted from TLDP)
(quoted from TLDP)