sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git
sudo pip install Theano
测试是否安装成功
python -c "import numpy; numpy.test()"
python -c "import scipy; scipy.test()"
python -c "import theano; theano.test()"
GPU配置
sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current
sudo apt-get install nvidia-current
sudo apt-get install nvidia-cuda-toolkit
sudo apt-get update
sudo apt-get install cuda