Hacker News new | ask | show | jobs
by rswail 2044 days ago
macports is a better homebrew-killer IMHO. Follows MacOS guidelines and frameworks, integrates with the MacOS way in terms of launch agents etc.
5 comments

I gave up on homebrew and switched to macports after having to change directory permissions one time too many.
Macports doesn’t install for me with no error messages.
That's very odd. Did you try to run the installer from a terminal to check if it says something?
What we need is a cross platform package manager that installs stuff in the same place and make stuff behave the same, so shell configs can be unified between OS and not have "if" all over and expect same environments.

nix is almost that, except some packages are too old but otherwise, I have it running identically on macOS and Linux.

Homebrew puts stuff in some weird location that is /home/linuxbrew/.linuxbrew/ on Linux and that alone puts me off and it breaks if I change that location. No idea why they don't just use a path like /opt/homebrew/ for both OS and be done with it.

> No idea why they don't just use a path like /opt/homebrew/ for both OS and be done with it.

We’re now using `/opt/homebrew` for the (still experimental) ARM native Homebrew flavour.

On Linux, you’re free to choose whatever prefix you like. On Linux, Homebrew always builds from source, no matter the prefix.

And especially it follows common Unix traditions - packages are installed in a system wide way without permission fuck-ups.
Nix also runs and integrates with macOS too. Does macports do something that Nix doesn’t?