Ce n’est pas parce que /usr est déporté que /usr/local l’est.
/usr/local est, je cite wp:en (un peu plus complète que wp:fr) : « [a t]ertiary hierarchy for local data, specific to this host. Typically has further subdirectories, e.g., bin/, lib/, share/ ». data est donc bien ici à prendre au sens large, sinon pourquoi bin et lib ?
Il y a aussi une note complétant cette description : « Historically and strictly according to the standard, /usr/local/ is for data that must be stored on the local host (as opposed to /usr/, which may be mounted across a network). » qui redit bien la non-déportation de /usr/local.
Et le reste de la note : « Most of the time /usr/local/ is used for installing software/data that are not part of the standard operating system distribution (in such case, /usr/ would only contain software/data that are part of the standard operating system distribution). It is possible that the FHS standard may in the future be changed to reflect this de-facto convention). » me conforte dans l’idée que /usr/local contient des applications.
Donc, oui, il y a toujours eu un chevauchement entre /opt et /usr/local dans le but, surtout pour lorsqu’on ne déporte rien, mais /opt contient un répertoire par application1 (/opt/openoffice/{bin,lib,...}, /opt/jdk/{bin,lib,...}) alors que /usr/local est une hiérarchie comme / et /usr (avec l’utilisation du programme stow pour rendre tout ça plus propre).
[^] # Re: euhhh
Posté par Sylvain Sauvage . En réponse à la dépêche /usr friendly. Évalué à 3.
Ce n’est pas parce que /usr est déporté que /usr/local l’est.
/usr/local est, je cite wp:en (un peu plus complète que wp:fr) : « [a t]ertiary hierarchy for local data, specific to this host. Typically has further subdirectories, e.g., bin/, lib/, share/ ». data est donc bien ici à prendre au sens large, sinon pourquoi bin et lib ?
Il y a aussi une note complétant cette description : « Historically and strictly according to the standard, /usr/local/ is for data that must be stored on the local host (as opposed to /usr/, which may be mounted across a network). » qui redit bien la non-déportation de /usr/local.
Et le reste de la note : « Most of the time /usr/local/ is used for installing software/data that are not part of the standard operating system distribution (in such case, /usr/ would only contain software/data that are part of the standard operating system distribution). It is possible that the FHS standard may in the future be changed to reflect this de-facto convention). » me conforte dans l’idée que /usr/local contient des applications.
Donc, oui, il y a toujours eu un chevauchement entre /opt et /usr/local dans le but, surtout pour lorsqu’on ne déporte rien, mais /opt contient un répertoire par application1 (/opt/openoffice/{bin,lib,...}, /opt/jdk/{bin,lib,...}) alors que /usr/local est une hiérarchie comme / et /usr (avec l’utilisation du programme stow pour rendre tout ça plus propre).
1 Une note renvoie sur la bonne section de la FHS