Skip to content

Instantly share code, notes, and snippets.

@cshen
Created September 9, 2013 08:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cshen/6492856 to your computer and use it in GitHub Desktop.
Save cshen/6492856 to your computer and use it in GitHub Desktop.
Install Pylearn2 on a Ubuntu box
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
@vipuldivyanshu92
Copy link

Hi, the
libamd2.2.0 is now libamd2.3.1
so use the following
$sudo apt-get install libamd2.2.0 libblas3gf
And libumfpack5.4.0 is now libumfpack5.6.2, so
$sudo apt-get install libc6 libgcc1 libgfortran3 liblapack3gf libumfpack5.6.2 libstdc++6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment