Why is it that many applications are installed in the/usr/local directory, and many applications are installed under/usr/local, then why do these apps choose this directory? Once you understand the root cause, you may have a more intuitive understanding of how your Linux organization files are understood. The answer is: The Automake tool defines the following set of variables: [PHP] Directory variable Default value prefix/usr/local exec_prefix ${prefix} bind IR ${exec_prefix}/bin libdir ${exec_prefix}/lib ... includedir ${prefix}/include datarootdir ${prefix }/share datadir ${datarootdir} mandir ${datarootdir}/man infodir ${datarootdir}/info docdir ${dataro Otdir}/doc/${package} ... And most of the applications under the gun compiler system are used Automake. So many of the apps you see are installed in the/usr/local/directory.
Why many applications are installed in the/usr/local directory