Live data from Hacker News

El Capitan and Homebrew

github.com

101–110 of 298 posts

Re: El Capitan and Homebrew

#102
post #98
post #95

Earlier quoted context omitted.

Never used Homebrew, but taking ownership of /user/local as I understand it does by default, certainly isn't a 'common unix standard'.

> certainly isn't a 'common unix standard' Here I google.com it for you. http://www.pathname.com/fhs/pub/fhs-2.3.html#THEUSRHIERARCHY EDIT: Why is it okay to NOT look up a Standard and be uncertain in your comments when it can be found in 20 seconds tops on the Internet?

I don't see anywhere in there where it says you should take ownership of /usr/local

Re: El Capitan and Homebrew

#104
post #56

Installed El Capitan yesterday. Process took almost half an hour. Afterwards, brew just gave me a warning to do "chown" to my usr/local. That's it. Everything works fine.

I think the bigger headache will be the next time you buy a new Macbook with El Capitan or later installed on it, because you'll need to do a song and dance to create the /usr/local directory in the first place.

A simple 'sudo mkdir /usr/local' won't work with SIP?

Re: El Capitan and Homebrew

#105
post #81
post #56

Earlier quoted context omitted.

I think the bigger headache will be the next time you buy a new Macbook with El Capitan or later installed on it, because you'll need to do a song and dance to create the /usr/local directory in the first place.

Not true. Even on a fresh install, /usr/local exists and is exempt from SIP

Yes. I did a fresh install and homebrew had zero problems.

Re: El Capitan and Homebrew

#106
post #11

Why does brew need to install everything owned by my user in /usr/local? I would honestly prefer if everything installed by brew was owned by root:wheel and brew would gracefully abort if I forgot to run it with sudo. Is all that current mess just so that I don't need sudo for brew?

What is /usr/local for, if its not for locally installed (by the user) sub-components? Just curious whats wrong with using /usr/local. This is what its for, after all ..

/usr/local is for machine local packages vs. packages that are meant to be shared across multiple machines. /usr/local is still under the control of the local sysadmin though and not a user.

http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHI...

Really brew should always be installing somewhere under ~/ if you are installing packages as a user.

Re: El Capitan and Homebrew

#107
post #56

Earlier quoted context omitted.

I think the bigger headache will be the next time you buy a new Macbook with El Capitan or later installed on it, because you'll need to do a song and dance to create the /usr/local directory in the first place.

A simple 'sudo mkdir /usr/local' won't work with SIP?

Wow... I just re-read the page and saw what you have to do to create /usr/local and that is insane. Reboot into recovery mode?!? W.T.F?

Re: El Capitan and Homebrew

#108
post #86

To be fair, homebrew shouldn't need to change perms, it should follow common unix standards or at least fit in with OSX rather than require a hack. For years I've felt homebrew should really use either /opt/ or ~/.homebrew/ by default.

I can't think of anything more standard than /usr/local/.

iuguy is not talking about use of /usr/local, but rather the fact that homebrew makes it owned by the user who installed homebrew with permissions so that the user can maintain homebrew packages without sudo. Usually /usr/local is owned by root.

Re: El Capitan and Homebrew

#109

There hasn't been a clean upgrade in ages, yet developers eat that shit up and keep showing up with their shiny MacBooks in conferences. It must be great being a second class citizen.

Why do you feel this way? I mean, seriously, at the end of the day we're talking about computers and operating systems. That's it. No reason to be upset. It's just stuff.

Re: El Capitan and Homebrew

#110
Should I create this folder or install brew now? I've been thinking about installing it on my macbook and doing some development on it but haven't yet. Last night it told me the OSX update was available. Which order should I do this? Or should I just not put brew in /usr/local ??
Post reply on HN