Add
export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64\ ${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
Save and exit. Close and open the terminal (or source .bashrc).
nvcc -V
[[File:nvcc.png]]
===Install cuDNN v7.1.4===
*5. Downloaded cuDNN v7.1.4 for CUDA 9.0: