Re:Homebrew: OS X’s Missing Package Manager
by blasdel on Tuesday February 02, 2010 @04:58PM
(#1096284)
And those two separate questions are both ones that no other package manager even bothers to ask!
/usr/local does start off empty on OS X, but it's where every random .pkg you download likes to put stuff. You'll get mixing unless every non-app you install comes from a package manager. On FreeBSD every package that didn't ship in the default install goes there. There's a reason that MacPorts uses /opt/local by default.
Homebrew's official README suggests changing the ownership of /usr/local, and I think that's a terrible idea for multi-user machines. (Having said that, I suppose that many people have single-user machines, and in that case the issue is largely moot.)
Finally, a simple way to put software into your $HOME without ever needing sudo is available in most cases: