Hacker News new | past | comments | ask | show | jobs | submit login

> brew analytics off

The issue is that by default on install Homebrew uses Google Analytics.

> And in general it does everything as user not su for a few years now.

Homebrew always did everything as the admin user and not as root, and that was always the problem. It mungs permissions of /usr/local; all files, not just directories. And it's not so much of a package manager as it is a needless frontend for git. MacPorts, alternatively, respects default file system ownership, is a full-featured package management system, and like pkgsrc, is based on the FreeBSD ports system.

And when uninstalled, MacPorts doesn't leave a mess. With these 3 commands, it leaves no trace (with the exception of the /opt directory in the event it is used for something else):

      sudo port -vfp uninstall --follow-dependencies installed

      sudo port -vfp uninstall all

      sudo rm -rf /opt/local /Library/Tcl/macports*
If the day ever comes, good luck uninstalling Homebrew.[1][2]

[1] https://github.com/Homebrew/legacy-homebrew/issues/48792

[2] https://stackoverflow.com/questions/32895800/cant-reinstall-...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: