In the Linux FHS, it says all third party packages should use /opt
. However, I didn't see anybody is using /opt
. Also, /opt
is not in $PATH
in anyway, so I think the OS is not intended to let us use /opt
. So why bother to create /opt
there since nobody is going to use it anyway.
You guys might think this is a duplicate, but clearly it's not. I know about the difference and the thread, but I just don't know why nobody is using it.
/opt/
directory until you use third party packages, so I would say the onus is on the user rather than the OS (since these are packages specifically NOT part of the OS). You can also modify the$PATH
globally with sudo/root by editing/etc/bashrc
(in RHEL/CentOS/etc, I'm sure an equivalent exists for other distros). – Centimane Mar 24 '16 at 10:57/usr/local
or/opt
or something else entirely. Your question is as un-answerable as 'why do some people prefer vanilla ice-cream over chocolate?'. Also, as @andcoz's answer shows, your premise is just plain wrong - some people DO use/opt
. The fact that you haven't personally seen any examples doesn't mean they don't exist. – cas Mar 25 '16 at 04:15