Thanks for stepping up.
Homebrew 1.1.0
151–160 of 216 posts
Re: Homebrew 1.1.0
#152Earlier quoted context omitted.
Macports. It works and does what I need it to do. I switched to Mac from Linux, and with that background it was unnerving to see a system deliberately written to install non-root-owned files in /usr, so I ruled Homebrew out. I've always found it puzzling that people ask whether anyone "still" uses Macports, as though it is some decrepit thing. Homebrew is the one that seems strange to me.
My thoughts exactly. I'm a daily linux user, but occasionally some job requires me to use a Mac. Every time I see some OSX tool that starts with the premise of "just go ahead and `sudo chown` a system location and then curl this script into a `sudo bash` pipe" I just think to myself, if they care so little about security to not get the easy stuff right, can I really expect them to nail the hard stuff? Usually not. I'…
Re: Homebrew 1.1.0
#153I have very mixed feelings about homebrew. When it works, it is awesome, but when it doesn't it can be a serious nightmare. In particular, homebrew refuses to run under sudo. Instead, to instal in /usr/local it wants me to recursively chown /usr/local to myself, which is a Really Bad Idea (tm). I have mostly stopped using it for this reason. I understand that running a program that runs third-party scripts under sudo…
I have the same concerns and have been using Nix for my Mac package manager [1] instead. Functionally it's far better, though with far fewer packages available currently. [1]: https://news.ycombinator.com/item?id=11772686
For example?
Re: Homebrew 1.1.0
#154Earlier quoted context omitted.
We don't require you to take ownership of any directories that already exist when macOS is installed (i.e. `/usr/local` subdirectories but not `/usr/local` itself). Regardless of whether we should have picked another path, changing now would require rebuilding all our binary packages and that's a lot of effort with little return and almost certain breakages.
I haven't done a clean install of OS X in a long time, but I'm pretty sure /usr/local/bin exists. But even if it doesn't I don't find this a compelling argument. Having /usr/local/bin owned by root is a universally accepted standard in the unix world, and with very good reason: having /usr/local/bin owned by a user introduces security risks.
Re: Homebrew 1.1.0
#155Of all package managers I use, homebrew is without a doubt the most satisfying. It tracks updates closely and has always had any package I was looking for, yet I don't remember the last time I ran into an error. (I'm sure all three happen, but if I can't find them with close to 200 packages installed, they must be doing something right)
The biggest issue by far are the number of traditional packages that install in /usr/local with root privileges, thereby clobbering homebrew and making "brew doctor" freak out.
Re: Homebrew 1.1.0
#156Re: Homebrew 1.1.0
#157Just a quick poll. Is anybody still using MacPorts or anything else? If so, why?
Here is one more reason I use MacPorts, because it never does crap like this: $ brew search x11 x11vnc Error: GitHub API Error: API rate limit exceeded for 0.0.0.0. (But here's the good n ews: Authenticated requests get a higher rate limit. Check out the documentation for more details.) Try again in 54 minutes 49 seconds, or create a personal access token: https://github.com/settings/tokens and then set it as HOMEBRE…
Re: Homebrew 1.1.0
#158Re: Homebrew 1.1.0
#159Just a quick poll. Is anybody still using MacPorts or anything else? If so, why?
Re: Homebrew 1.1.0
#160Earlier quoted context omitted.
I haven't done a clean install of OS X in a long time, but I'm pretty sure /usr/local/bin exists. But even if it doesn't I don't find this a compelling argument. Having /usr/local/bin owned by root is a universally accepted standard in the unix world, and with very good reason: having /usr/local/bin owned by a user introduces security risks.
What are those risks?