3 ms·
> I basically don't let anything but the package manager touch /usr. That's the standard approach. Custom system-wide packages (as opposed to packages that are
by zozbot234 6y ago
> I basically don't let anything but the package manager touch /usr.
That's the standard approach. Custom system-wide packages (as opposed to packages that are only installed for one user) should go in /usr/local/ or in a package-specific directory under /opt/.
- quietbritishjim 6y agoThe comment you're replying to is a bit ambiguous. Did they mean don't put anything directly in /usr (i.e. except /usr/local)? Or did they mean don't put anything anywhere under /usr? Both are consistent with my comment. Personally, I stopped using even /usr/local (or /opt) many years ago. If it's not managed by the operating system then it goes in my home directory (except a few things in /etc that have to go there).
- rcxdude 6y agoExactly. Stuff in /usr/local is very capable of messing with other parts of the system (plus it munges everything not package managed together, which is even worse).