zlacker

[return to "Understanding the bin, sbin, usr/bin, usr/sbin split (2010)"]
1. schmuc+3q[view] [source] 2026-01-04 16:33:55
>>csmant+(OP)
This post gets some of the details wrong. /usr/local is for site-local software - e.g. things you compile yourself, i.e in the case of the BSDs the ports collection - things outside the base system. (They may be compiled for you).

Since Linux has no concept of a base system, it's a stand-alone kernel with a hodgepodge of crap around it - this distinction makes no sense on Linux.

/opt is generally for software distros for which you don't have source; only binaries. Like commercial software packages. More common on Real UNIX(R) because most Linux users outside enterprise aren't running commercial software. You're putting your $500k EDA software under /opt.

◧◩
2. sohrob+ZL[view] [source] 2026-01-04 18:43:52
>>schmuc+3q
Now I get what the folks using FreeBSD typically like to point to as a reason why they prefer FreeBSD over Linux because there is a clear distinction between the base system and userland.
◧◩◪
3. NewJaz+MM[view] [source] 2026-01-04 18:50:37
>>sohrob+ZL
Linux has more of a clear distinction between kernel and userspace. But the base system in *BSD includes a lot of userspace, so the API boundary is more the libc and some core libraries (TLS) instead of the kernel ABI.
[go to top]