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?
/opt/bin
(which I've seen) vs./opt/package/bin
, but now it looks like you're asking about/opt/package/X/bin
, which I haven't seen in any package...<package>
portions of the paths were interpreted as HTML tags. So the original input,/opt/<package>/bin
, appeared as /opt//bin, and/opt/<package>/X/bin
appeared as /opt//X/bin.