Skip to content

Instantly share code, notes, and snippets.

@mjbommar
Created July 25, 2009 00:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjbommar/154625 to your computer and use it in GitHub Desktop.
Save mjbommar/154625 to your computer and use it in GitHub Desktop.
# Install SCMs
apt-get install subversion git-core bzr
# Install build chain tools
apt-get install build-essential autoconf automake libtool flex bison fortran77-compiler gfortran tcl tcl-dev tk tk-dev
# Install important libraries
apt-get install libxml2 libxml2-dev libgmp3-dev libgmp3c2 liblapack3gf liblapack-dev libarpack2 libarpack2-dev libblas3gf libblas-dev libgsl0-dev
# Install python friends
apt-get install ipython python-dev python-gtk2 python-gtk2-dev python-qt4 python-qt4-dev python-numpy python-scipy python-imaging python-matplotlib python-matplotlib-data python-beautifulsoup python-rpy2 python-twitter python-dateutil python-cairo python-lxml python-nltk
# Install other various image and latex packages
apt-get install dvipng texlive texlive-common texlive-math-extra texlive-latex-recommended imagemagick
# THIS IS FOR THE MOVIE! (or, The Revenge of jzelner's Youth)
apt-get install mencoder vlc
# Grab numpy and build it
svn co http://svn.scipy.org/svn/numpy/trunk numpy
cd numpy
python setup.py install
# Grab scipy and build it
cd ../
svn co http://svn.scipy.org/svn/scipy/trunk scipy
cd scipy
python setup.py install
# Grab ipython and build it
cd ../
bzr branch lp:ipython
cd ipython
python setup.py install
# Grab matplotlib and build it
cd ../
svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib matplotlib
cd matplotlib
python setup.py install
# Grab igraph and build it
bzr branch lp:igraph
cd igraph
./bootstrap.sh && ./configure --prefix=/usr && make && make install
cd interfaces/python && python setup.py install
updatedb && locate libigraph.so.0
# Grab nltk and build it
svn checkout http://nltk.googlecode.com/svn/trunk/ nltk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment