sainnhe / sainnhe.github.io

Personal Blog
https://www.sainnhe.dev/
1 stars 0 forks source link

post/dont-use-homebrew/ #11

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Don't Use Homebrew - sainnhe's blog

What? Yes exactly, you should never use it. I know this might shock you, but please let me explain. There are two very serious design flaws in homebrew, which may put your mac in danger. The directory permission Homebrew doesn’t need sudo to perform actions, which has been regarded as a big advantage over other package managers. Yes, it’s more convenient, however the way homebrew implements this feature is simply to change the ownership of the directory of $(brew --prefix) to the user who installed homebrew.

https://www.sainnhe.dev/post/dont-use-homebrew/

Eason0210 commented 1 year ago

macports is good. I switch to macports from homebrew 2 months ago

Arnie97 commented 11 months ago

Homebrew distributes the iTerm2 binary dmg, which does work. MacPorts compiles its own iTerm2 from source, which unfortunately crashes, and nobody could fix it after a year has passed.

sainnhe commented 11 months ago

@Arnie97 Yeah... The biggest disadvantage of MacPorts is that its GUI apps are poorly packaged. There is no perfect solution on the Mac, and I'm considering switching over Asahi Linux since the first OpenGL-compatible GPU Driver has been released, and I feel it is enough for daily development.