anchor.diff:  . Optional but recommended if you use CNNs: *cuDNN*
   
   === Install miniconda
  +
   [source,role="console"]
   ----
   $ wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-`uname -p`.sh
  
positive.code: See also link:http://conda.pydata.org/docs/install/quick.html[the install guide].
  
  === Install Theano
  [source,role="console"]
  ----
  $ sudo apt-get install git
  
negative.code: ----
  
  === Install h5py
  
  [source,role="console"]
  ----
  $ conda install -y h5py
  ----
  
  === Install Keras
  
  [source,role="console"]
  ----
  $ pip install keras
  ----
  
  === Install g++ (optional)
  
  [source,role="console"]
  ----
  $ sudo apt-get install g++
  ----
  
  Without g++, you will get this message when run Keras and Keras will be very slow.
  
  [source,role="console"]
  ----
  WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.
  ----
  
  === Test Keras
  
  [source,role="console"]
  ----
  $ curl -sSL https://github.com/fchollet/keras/raw/master/examples/mnist_mlp.py | python
  ----
  
  The result here.
  
  [source,role="console"]
  ----
  60000 train samples
  