Skip to content

Instantly share code, notes, and snippets.

@zhaopengme
Forked from dapperfu/cuda.sh
Created January 24, 2017 03:37
Show Gist options
  • Save zhaopengme/bd66697a10d4068e19859fb0551ed4eb to your computer and use it in GitHub Desktop.
Save zhaopengme/bd66697a10d4068e19859fb0551ed4eb to your computer and use it in GitHub Desktop.
CUDA
# CUDA.
apt-get install wget
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.44-1_amd64.deb
dpkg -i cuda-repo-ubuntu1604_8.0.44-1_amd64.deb
apt-get update -y
# Recomends on a bare system installs a *ton* of 'junk', including the Ubuntu desktop. debtree chokes on telling you why.
apt-get install --no-install-recommends cuda
# NVIDIA CUDA® Deep Neural Network library (cuDNN)
# https://developer.nvidia.com/cud
tar --strip=1 --directory=/usr/local/cuda/ -xzvf cudnn-8.0-linux-x64-v5.1.tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment