News for hackers. Stuff that matters.
Re:Docker for Mac M1 RC by deergomoo on Friday March 19, 2021 @11:49AM (#26514735)
> Brew is good, but Linux package managers like pacman and apt are so much better

I used starting fresh on the M1 as an excuse to give MacPorts a go, and I like it much better than Homebrew. There's some smaller packages that aren't on MP, but all the big stuff is there and to me it feels much more like a Linux package manager.

Re:Docker for Mac M1 RC by sgerenser on Friday March 19, 2021 @12:28PM (#26515272)
I’ve always preferred MacPorts to brew. I think you’ve nailed it, it just feels much more like the Linux package managers I’m used to. Homebrew has definitely won the popularity contest though.
Re:Docker for Mac M1 RC by geoelectric on Friday March 19, 2021 @03:36PM (#26517426)
IIRC my issue with MacPorts was that it insisted on recompiling the world from its ecosystem as dependencies because it kept everything super-stable, whereas brew would attempt to use system ones if they were viable. It was more or less FreeBSD Ports vs. Debian apt-get as the model at that point, and MacPorts was (predictably) FreeBSD-like.

Over time I'm not sure brew is any better now, though. I have unlinked versions of gcc, python, etc., etc. under /usr/local that are there just to handle brew packages that listed them as pinned dependencies. It's nice that brew doesn't expose them to CLI unless I want it to do so, but it's not less complex.

Assuming MacPorts has a good "bottle" type concept of precompiled packages now too (haven't looked for years) it's probably about the same as brew now, just more stable. If they still compile from source every time a la BSD, that would be my main sticking point.

Re:Docker for Mac M1 RC by saagarjha on Saturday March 20, 2021 @06:16AM (#26521983)
MacPorts has binary packages for most things these days.
Re:Docker for Mac M1 RC by rconti on Friday March 19, 2021 @03:24PM (#26517319)
I used MacPorts ages ago, and honestly thought it went away, which is why I switched to Brew, which I've never gotten comfortable with.
Re:Docker for Mac M1 RC by memco on Friday March 19, 2021 @12:46PM (#26515515)
Could you expand on what is better about macoorts over brew? I quickly got onto the Macports page and saw first off that sudo is needed for updating itself and second that I have to select the right version for my OS: Brew is a single install that does not require sudo to update so there’s a few things that already make Brew more appealing for me. What does MacPorts do better?
Re:Docker for Mac M1 RC by deergomoo on Friday March 19, 2021 @05:06PM (#26518152)
This is the article that prompted me to give it a try, and summarises my feelings better than I could:

https://saagarjha.com/blog/2019/04/26/thoughts-on-macos-pack...

Re:Docker for Mac M1 RC by co_dh on Friday March 19, 2021 @08:08PM (#26519435)
Also, the manual of macport is beautiful, as well as the port file.
Re:Docker for Mac M1 RC by bronson on Friday March 19, 2021 @01:30PM (#26516016)
I'd like to be done with Homebrew. (I asked you to install pv, not thrash the world.)

Anyone tried Nix? I'm trying it soon. If it doesn't stick, yep, back to MacPorts like it's 2007.

Re:Docker for Mac M1 RC by sanityinc on Monday March 22, 2021 @07:14PM (#26548742)
Yes, Nix is totally viable. Steep learning curve, but many benefits.
Re:Docker for Mac M1 RC by zcoyle on Saturday March 20, 2021 @10:05AM (#26523320)
I switched to Nix a few years ago and have had no regrets.