Você pode encontrar o Filesystem Hierarchy Standard (FHS) versão 2.3 em pathname.com/fhs . Há uma seção sobre a usr hierarchy . O FHS lista /usr/local como um diretório obrigatório e escreve:
localLocal hierarchy (empty after main installation)
Além disso, o FHS escreve :
The
/usr/localhierarchy 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. It may be used for programs and data that are shareable amongst a group of hosts, but not found in/usr.Locally installed software must be placed within
/usr/localrather than/usrunless it is being installed to replace or upgrade software in/usr.
As diferentes distribuições Linux geralmente não gravam software em /usr/local . Em vez disso, cada arquivo é colocado no sistema de arquivos de acordo com o FHS.
Se você instalar o software a partir da origem ( ./configure && make && make install ) sem opções específicas, este software copia a si mesmo normalmente para /usr/local .
O diretório padrão para MacPorts é /opt/local . O Guia MacPorts tem uma descrição dos elementos internos.