Skip to content

Instantly share code, notes, and snippets.

@cshen
Created September 9, 2013 08:21
Show Gist options
  • Select an option

  • Save cshen/6492856 to your computer and use it in GitHub Desktop.

Select an option

Save cshen/6492856 to your computer and use it in GitHub Desktop.

Revisions

  1. cshen created this gist Sep 9, 2013.
    33 changes: 33 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    Install Pylearn2 on a Ubuntu box
    https://github.com/lisa-lab/pylearn2


    Assume that the default version of Python is 2.7.3

    Tested on a machine with
    - Linux 3.2.0-26-generic x86_64 GNU/Linux
    - Ubuntu 12.04.2 LTS (Precise Pangolin)



    sudo apt-get update
    sudo apt-get install build-essential
    sudo apt-get install libamd2.2.0 libblas3gf
    sudo apt-get install libc6 libgcc1 libgfortran3 liblapack3gf libumfpack5.4.0 libstdc++6
    sudo apt-get install gfortran libatlas-dev python2.7-dev

    sudo apt-get install python-numpy pythin-scipy

    sudo apt-get install python-setuptools git-core

    sudo apt-get install libyaml-dev python-yaml
    sudo easy_install python-pip

    sudo pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git
    sudo pip install git+git://github.com/lisa-lab/pylearn2.git

    sudo apt-get install python-matplotlib python-scikits-learn
    sudo pip install pandas