Check out the following resources to get an idea of what I mean when I say that:
Brew doctor isn't always correct and /usr/local is not a panacea
- https://news.ycombinator.com/item?id=7750203
- https://github.com/wilmoore/homebrew-home#benefits
- https://github.com/wilmoore/homebrew-home/wiki/Rationale
- http://ascarter.net/2010/02/22/homebrew-for-os-x.html
- Homebrew/legacy-homebrew#31829
- Homebrew/legacy-homebrew#31827
Some of the recommendations in brew doctor
are either outdated and thus wrong or were never correct to begin with. I've got a couple PRs out to correct a couple of those.
Point is, you may want to consider installing to ~/.homebrew
or some directory under your own $HOME
.
Any program that hard-codes /usr/local
is wrong and the reality of it is that there aren't that many relevant programs out there now that still do this.