[Baypiggies] Should I install brew under /usr/local or /opt/local, on Mac?

Aahz aahz at pythoncraft.com
Tue Oct 6 18:18:32 CEST 2015

On Fri, Sep 25, 2015, Stephen wrote:
> Seeking quick opinions on a marginally Python-related question:
> I decided to move from macports to brew.Should I install brew
> under /usr/local (default) or /opt/local (said to be better for
> separation)?- I'm on MacOS 10.8.x- I want to have multiple installs of
> Python 2.x, 3.x and various other libraries and tools (octave, Vowpal
> Wabbit, word2vec, Spark etc.)- I don't want any grief from Mac system
> libraries, version dependencies, etc.- I read StackOverflow et al. and
> there is no clear consensus

OSX 10.11 (aka El Capitan) changes the security model of OSX somewhat.
/usr/ is now completely off-limits *except* for /usr/local/ -- and my
personal preference is to avoid pushing the boundaries, so I would use


(The whole subject of SIP is more Python-related than your specific
question IMO, at least for anyone who has intentions of distributing
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

I support the RKAB

More information about the Baypiggies mailing list