Skip to content

Instantly share code, notes, and snippets.

@rnkhouse
Created April 11, 2018 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rnkhouse/436f728dd8dddf556edfa4e3c01c219c to your computer and use it in GitHub Desktop.
Save rnkhouse/436f728dd8dddf556edfa4e3c01c219c to your computer and use it in GitHub Desktop.
CUDA_REPO_PKG=cuda-repo-ubuntu1604_9.1.85-1_amd64.deb
wget -O /tmp/${CUDA_REPO_PKG} http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/${CUDA_REPO_PKG}
sudo dpkg -i /tmp/${CUDA_REPO_PKG}
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
rm -f /tmp/${CUDA_REPO_PKG}
sudo apt-get update
sudo apt-get install cuda-drivers -y
sudo apt-get install cuda -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment