Locally installed software must be placed within /usr/local rather than /usr unless it is being installed to replace or upgrade software in /usr.[footnote 23]
"/usr/local" bin games include lib man sbin share src |
"Local hierarchy" Local binaries Local game binaries Local C header files Local libraries Local online manuals Local system binaries Local architecture-independent hierarchy Local source code |
Tree 4.9.2.1
No other directories, except those listed below, may be in /usr/local after first installing a FHS-compliant system.
[23] Software placed in / or /usr may be overwritten by system upgrades (though we recommend that distributions do not overwrite data in /etc under these circumstances). For this reason, local software must not be placed outside of /usr/local without good reason.