Skip to content

Instantly share code, notes, and snippets.

@dapperfu
Created January 8, 2017 23:44
Show Gist options
  • Save dapperfu/c16b9128bae279435b115508a6348c54 to your computer and use it in GitHub Desktop.
Save dapperfu/c16b9128bae279435b115508a6348c54 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