[MacOSX] MacPorts 換成 Homebrew

移除Macport

sudo port -f uninstall installed
sudo rm -rf /opt/local
sudo rm -rf /Library/Tcl/macports1.0
rm -rf ~/.macports

安裝 Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

路徑

brew安裝的檔案都放在 /usr/local/Cellar/
然後拉link去 /usr/local/bin/

Leave a Comment