managing packages on MacOsX : testing HomeBrew

  • install

     $ ruby -e "$(curl -fsS"
    ==> This script will install:
    Press enter to continue
    ==> Downloading and Installing Homebrew...
    ==> Installation successful!
  • fix permissions

    $ sudo chown -R `whoami` /usr/local
  • to install python specific stuff, use pip:

    brew install pip
    echo '[install]
    install-data=/usr/local/Cellar/PyPi/2.6/share' > ~/.pydistutils.cfg
    pip install ipython
  • this is with the exception of numpy + scipy, the latter needing

    cd tmp
    svn co numpy
    pip install numpy
    brew install suite-sparse
    svn co scipy
    pip install scipy