Skip to content

Instantly share code, notes, and snippets.

@hohl
Last active January 17, 2020 10:59
Show Gist options
  • Save hohl/24a8965b35ba2386dfc26d64e5ec258f to your computer and use it in GitHub Desktop.
Save hohl/24a8965b35ba2386dfc26d64e5ec258f to your computer and use it in GitHub Desktop.
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
sudo add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
sudo apt-get update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment