cuda 9.1 install ubuntu 16.04 apt-get
Install CUDA 9.1 on Ubuntu 16.04 using apt-get – easiest method
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.1.85-1_amd64.deb sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub sudo dpkg -i cuda-repo-ubuntu1604_9.1.85-1_amd64.deb sudo apt-get update sudo apt-get install -y cuda nvidia-cuda-toolkit
Reboot!