Ubuntu16.04 CUDA Installation

Add cuda apt source

cd /etc/apt
sudo echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /" > cuda.list
sudo echo "deb http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 /" > nvidia-machine-learning.list

Solve GPG issue

https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey

Install cuda

sudo apt install cuda

Misc: install tensorflow

http://www.nvidia.com/object/gpu-accelerated-applications-tensorflow-installation.html

你可能感兴趣的:(Ubuntu16.04 CUDA Installation)