

Unlike Linux, these BSDs have a clear separation of OS from these packages. OS files and data are stored in places like /bin and /etc, while user installed packages get installed to /usr/local/bin and /usr/local/etc.
What do you consider the OS? Is firefox a part of OS? Is office part of OS?
On FreeBSD, the freebsd-update command is used for upgrading the OS and the pkg command is used for managing user packages. On OpenBSD, the syspatch command is used for upgrading the OS and the pkg_* commands are used for managing user packages.
Personally, the ditching of /usr/local
mess was one of the selling points of Arch for me, but in a way you could achieve this in Arch. Create a secondary pacman config with RootDir set to /usr/local and alias pacman --config /etc/pacman_local.conf
as pkg_pacman
-L
to? Of course, compiling things completely from scratch is unmaintainable anyway (that’s why PKGBUILD was another big point - it’s easy to create your own AUR packages that will get pacman-level maintainability), but sometimes you want to check if that new patch solves your issue/opt
. But it should be my decision if I want something installed in/opt/bin
or/usr/local/bin
. In distros that did not enforce where things are put in, it was all over the place. But to be fair, to me, evenbin
/sbin
separation is bs