Post B1eUx0befTC9fkQ8e0 by miko@mewmew.moe
(DIR) More posts by miko@mewmew.moe
(DIR) Post #B1eTrJaT5JSgqgaQbY by rose@snac.pinkro.se
2025-12-26T20:48:05Z
0 likes, 0 repeats
the uapi spec doesnt' mention /usr/local in https://uapi-group.org/specifications/specs/linux_file_system_hierarchy/their stuffy really is super hit or miss lmao, practically anything beyond bootloaders and kernel formats its shit
(DIR) Post #B1eU9g764Tk1vQbYSO by rose@snac.pinkro.se
2025-12-26T20:51:21Z
1 likes, 0 repeats
linux distros in general should bring back the /usr and /usr/local spliton a traditional purely package based distro its fair to say that you cant properly differentiate with system stuff and user installed stuff, but now that we're getting an increase in image based distros it makes no sense to still put everything in /usr, having /usr/local would also allow for easier user package management on top of an immutable base
(DIR) Post #B1eUR78upWVWg6lls8 by rose@snac.pinkro.se
2025-12-26T20:54:30Z
0 likes, 0 repeats
and then we have debian which puts poweroff/shutdown/reboot in /sbin but not in /bin, which makes sense in older systems where those commands required superuser access, but dont on systemd, so its a needless annoyance to manually add /sbin to PATH or link poweroff/shutdown/reboot to /bin
(DIR) Post #B1eUrLWC0NGenAAJto by miko@mewmew.moe
2025-12-26T20:55:59.198Z
0 likes, 0 repeats
@rose@snac.pinkro.se still requires superuser access if you don't have polkit installed iirc
(DIR) Post #B1eUrMxscv0dHK7wh6 by rose@snac.pinkro.se
2025-12-26T20:59:14Z
0 likes, 0 repeats
nah, these commands internally just run the systemctl equivalents, which dont require root, even without polkit installed
(DIR) Post #B1eUsucayf1bx6uIqW by phnt@fluffytail.org
2025-12-26T20:59:36.180309Z
2 likes, 1 repeats
@rose Debian also does completely dumb stuff with multilib and their toolchains to support it. Still, /usr/local is useful if you want to install manually built packages or override whatever binary/library is on your system.
(DIR) Post #B1eUx0befTC9fkQ8e0 by miko@mewmew.moe
2025-12-26T20:54:55.948Z
0 likes, 0 repeats
@rose@snac.pinkro.se idk I'd prefer having user packages in ~/.local. site-specific packages should be in /usr/local
(DIR) Post #B1eUx1bKy8XEl3HOmu by rose@snac.pinkro.se
2025-12-26T21:00:15Z
0 likes, 0 repeats
oh yeah thats what i meant
(DIR) Post #B1eV72xSmMDlrVPKzY by rose@snac.pinkro.se
2025-12-26T21:02:05Z
1 likes, 0 repeats
Yeah thats what /usr/local is used for currently, but on a system with a proper /usr and /usr/local split (i.e. FreeBSD) I just tend to put overrides in /opt, because thats generally where system wide "precompiled" things go