4 ms·
I prefer MacPorts, which uses /opt/local by default. /usr/local is for things I build myself / install manually.
by icedchai 4y ago
I prefer MacPorts, which uses /opt/local by default. /usr/local is for things I build myself / install manually.
- oneplane 4y agoBrew uses /opt by default as well (but it wasn't always the case, and it used to symlink into /usr/local too while keeping the actual files in the Cellar).
- sashk 4y ago/opt by default is for M1 and later based Macs. intel based Macs still use /usr/local.
- mdaniel 4y agoHeh, you and I posted about the same time, but it seems that's actually only true for arm64: https://github.com/Homebrew/install/blob/master/install.sh#L130 https://github.com/Homebrew/install/blob/master/install.sh#L...
- icedchai 4y agoGood to know. Last time I used brew was on an Intel Mac.
- mdaniel 4y agoI was going to say that recent installs have switched to /opt/Homebrew, but while digging up supporting evidence I noticed that they bizarrely only do that for arm64 installs: https://github.com/Homebrew/install/blob/master/install.sh#L130 https://github.com/Homebrew/install/blob/master/install.sh#L...
- duskwuff 4y agoChanging the install prefix for a project like Homebrew is hard, because directory names frequently get embedded in executables and configuration files. The ARM migration was a convenient time to make the switchover, because everything had to be rebuilt anyway.