5 ms·
I understand /usr/local to be for anything not managed by your distribution but following the standard system layout (e.g. Python that you compiled yourself) wh
by immibis 10mo ago
I understand /usr/local to be for anything not managed by your distribution but following the standard system layout (e.g. Python that you compiled yourself) while /opt is used for things that are (relatively) self-contained and don't integrate with the system, similar to Program Files on Windows (e.g. a lot of Java software).
Regarding "that's a Linux-ism" - well yeah? Linux is the main OS this is about. FreeBSD can do what it wants, too.
- schmuckonwheels 10mo ago> anything not managed by your distribution That's a Linux-ism. Other *nix there is a lot more in /usr/local. In reality /usr is similar to Windows' System32 directory on most Unicies. /opt is really the only good place for Java and where I've been putting it for decades (old habits die hard).