zlacker

[parent] [thread] 1 comments
1. immibi+(OP)[view] [source] 2026-01-04 17:05:15
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.

replies(1): >>schmuc+u1
2. schmuc+u1[view] [source] 2026-01-04 17:14:27
>>immibi+(OP)
> 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).

[go to top]