Tensorflow and Keras are implemented in Ubuntu, using the following commands:
$pip install --no-cache-dir tensorflow-gpu==1.7
Note that it is preferable to install a GPU-compatible version, as neural networks work considerably faster when they are run on top of a GPU. Keras is a high-level neural network API, written in Python, and capable of running on top of TensorFlow, CNTK, or Theano.
It was developed with a focus on enabling fast experimentation, and it can be installed as follows: