3 ms·
The purpose of /usr/local is for you to put stuff there, but it actually causes a lot of problems if a package manager does it. - your work-issued laptop might
by astrange 11y ago
The purpose of /usr/local is for you to put stuff there, but it actually causes a lot of problems if a package manager does it.
- your work-issued laptop might have work stuff installed in there, and the package manager will overwrite it
- build-from-source package managers like fink/ports/brew are incapable of controlling themselves and always install things you didn't ask them to
Since /usr/local is in the default search path for your compiler, that last one means your personal configure script runs are not reproducible, and you'll start linking to packaged versions of libiconv or whatever without meaning to, and your code won't work on other machines or it'll crash unexpectedly.
Fink invented /sw for this, MacPorts uses /opt which I think they got from Solaris?