Step 1
apt update
apt install python3-dev python3-pip
pip3 install tensorflow-gpu
Step 2
How did I install cuDNN 7.5.1 to Ubuntu 18.04?
Step 3
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64
Step 4
How did I install TensorRT 5.1.2 for CUDA 10.0 to Ubuntu 18.04?