What is the difference between
/usr/local directories and what kind of programs should be installed to them?
I referred to Linux File-system Hierarchy but the explanation is not that clear.
According to above link;
/opt :- This directory is reserved for all the software and add-on packages that are not part of the default installation
/usr/local :- The
/usr/local hierarchy is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated.
In the context of a PC without any networked computers what should be the directory to install a software that will be accessed by multiple local users? (i.e. where should I install a software like netbeans)