The /opt/ directory in Linux is used for installing add on packages. What is the difference between the /opt/<package>/bin directory and the /opt/<package>/X/bin directory? What is the difference between placing the binary in these directories?Could you also please point me to some documentation which explains what the directory structure should be for a new software package/application installed in the /opt/ directory?
Difference between /opt/bin and /opt/X/bin directories
package management;directory structure;fhs