|
|
|
|
|
by throw0101a
1833 days ago
|
|
> but where does a third party package manager put stuff? /opt > The use of /opt for add-on software is a well-established practice in the UNIX community. The System V Application Binary Interface [AT&T 1990], based on the System V Interface Definition (Third Edition) and the Intel Binary Compatibility Standard v. 2 (iBCS2) provides for an /opt structure very similar to the one defined here. * https://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.htm... MacPorts uses /opt/local for example. |
|
The LFS spec you linked to is actually ancient at version 0.65, the latest is 3.0 and available here[1]. It's a bit "do what you want", but it really expects the "local" part of /opt/local that MacPorts uses to be some sort of identifier for MacPorts.
That said, it's the Linux Filesystem Hierarchy, so it only applies to Apple stuff inasmuch as it's common practices for UNIXes in general. And it's not like the major Linux distros follow it fully either. They're happy to break from it where it preserves some historical layout their OS has had that they think is easier for their users/admins.
1: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html