MHRNOTE

画像処理、コンピュータービジョン、GPGPU、開発環境、etc

MacPortsとお別れ,こんにちはHomebrew

Macのパッケージ管理は「Macports」を使用していたのですが,

  • スーパーユーザ権限が不要
  • パッケージダウンロードとインストールの手間が減る

のようなメリットがあるそうなので,「Homebrew」に乗り換えることにしました.

ということでbrewをインストール.

……とはいいつつ,やることは

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

Macのターミナルに打ち込む(貼り付ける)だけ.

特に問題がなかったので,スムーズにインストール完了.


しかし,どうやらMacPortsと競合が起こる可能性があるとか. さてMacPortsをアンインストール.

sudo rm -rf /opt/local \
/Applications/MacPorts \
/Applications/DarwinPorts \
/Library/Tcl/macports1.0 \
/Library/Tcl/darwinports1.0 \
/Library/LaunchDaemons/org.macports.* \
/Library/StartupItems/DarwinPortsStartup \
/Library/Receipts/MacPorts*.pkg \
/Library/Receipts/DarwinPorts*.pkg

こちらをガサっとターミナルへ.

エラーが無ければ,めでたくMacPortsはアンインストール.

ありがとうMacPorts,こんにちはHomebrew.

参考
http://guide.macports.org/chunked/installing.macports.uninstalling.html http://satomacoto.blogspot.jp/2009/05/macports.html

(ついき) NAIST学生寮に入居しました.