Ask HN: Best Alternative to Homebrew in 2021?
31–40 of 314 posts
Re: Ask HN: Best Alternative to Homebrew in 2021?
#32It is my first choice since a while and if it's not there I go to homebrew
Re: Ask HN: Best Alternative to Homebrew in 2021?
#33I started using nix. It’s difficult and search results are not often helpful.
I've seen countless people trying a new technology/tool, and overselling it as 'amazing' and super easy.
Seeing a post like yours helps to keep the discussion grounded in reality, with tools that looks nice on paper but have practical downsides as well.
Re: Ask HN: Best Alternative to Homebrew in 2021?
#34Re: Ask HN: Best Alternative to Homebrew in 2021?
#35My experience is that both (Macports, Homebrew) are comically unreliable and frustrating to use. That said, with my insistence to install under $HOME, Macports seems to work slightly better. But truly, I got the best results from downloading and compiling every single flipping dependency myself.
My experience has been that very, very rarely is any installation as straightforward as "curl && ./configure && make PREFIX=whatever install", partially due to everyone in the known universe thinking they need some awesome new build system, partially due to unknown dependencies and their versions, partially due to it usually needing some patches because they only build on the author's machine, and all of that is just noise when I just want to have something running
The value of Homebrew to me are the constantly bumped formulae descriptors, definitely, 100% NOT the "brew" frontend for it. So, I've found a nice middle-ground by switching Homebrew into developer mode and neutering its bottle system and using "--build-from-source"
This isn't necessarily to lobby you, as much as "for your consideration" and to raise awareness for others that one need not throw the baby out with the bathwater just because the brew frontend is user-hostle
Re: Ask HN: Best Alternative to Homebrew in 2021?
#36Earlier quoted context omitted.
Yeah, macports still works fine. It has an equivalent to the OpenBSD flavors and does versioning fine. The only pain point is OS upgrades.
And the fact that it "needs" Xcode installed.
xcode-select --install
That said, MacPorts is often opinionated, e.g. they package certain versions of some software and not others.Re: Ask HN: Best Alternative to Homebrew in 2021?
#37The fact that homebrew is awful is one of the huge reasons I don’t use MacOS for development like all my co-workers. Instead I use Windows with WSL because the company won’t allow me a Linux laptop. If I had to use a Mac my solutions would be to alway use Docker, a virtual machine, or a remote dev environment of some kind.
apt/dpkg and any other package manager that scatters files all over the filesystem is just an absolute disaster that--if you do a lot of R&D tinkering--eventually renders a computer unusable after a few years. That's what happened to my first WSL instance; no apt command would work anymore because it had broken its own dependencies.
Re: Ask HN: Best Alternative to Homebrew in 2021?
#38The fact that homebrew is awful is one of the huge reasons I don’t use MacOS for development like all my co-workers. Instead I use Windows with WSL because the company won’t allow me a Linux laptop. If I had to use a Mac my solutions would be to alway use Docker, a virtual machine, or a remote dev environment of some kind.
Re: Ask HN: Best Alternative to Homebrew in 2021?
#39Re: Ask HN: Best Alternative to Homebrew in 2021?
#40A while ago there was a post on HN about pkgsrc [1][2][3], which works on Mac, among other platforms. I haven't tried it, but it may be worth a shot. [1]: https://rubenerd.com/using-netbsds-pkgsrc-everywhere-i-can/ > [2]: https://news.ycombinator.com/item?id=27293108 > [3]: http://www.pkgsrc.org/ >
I wasn't able to immediately find any issue tracker for pkgsrc packages, and it seems they're a "mailing list and IRC" type setup, which if true means it definitely isn't for me