Installing TensorFlow on Ubuntu 16.04 LTS

Installing TensorFlow is not a tedious task if you have a fast Internet connection. The main tool we need to have is pip. It is a package management system used to install and manage software packages written in Python.

You may get latest installation instruction for Linux from following link:

Here is the command to install pip on Ubuntu:

    $ sudo apt-get install python-pip python-dev

After installing pip, you have to execute the following command to set a BASH variable called TF_BINARY_URL. This is for installing the correct binaries for our configuration. The following variable is for the Ubuntu 64 bit, Python 2.7, CPU only version:

    $ export TF_BINARY_URL= ...

Get ROS Programming: Building Powerful Robots now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.