★macportsこれをmacに入れる事によって、unix環境向けのソフトをインストールできるようになるよ。
・上のサイトからdmgをダウンロード & インストール
・ホームディレクトリの.profileファイルにパスを設定
export PATH=/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH
・source $HOME/.profile で再読み込み
・これで使えるようになったはず。
・まずは $sudo port selfupdate でupdate
・treeコマンドでも入れてみよう
$ sudo port install tree
---> Fetching archive for tree
---> Attempting to fetch tree-1.6.0_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/tree
---> Attempting to fetch tree-1.6.0_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/tree
---> Installing tree @1.6.0_0
---> Activating tree @1.6.0_0
---> Cleaning tree
yeah!

