Skip to content

Instantly share code, notes, and snippets.

@epeters3
Last active May 29, 2020 17:19
Show Gist options
  • Save epeters3/12777e199ea7de86b7020759b6a0fd9a to your computer and use it in GitHub Desktop.
Save epeters3/12777e199ea7de86b7020759b6a0fd9a to your computer and use it in GitHub Desktop.
Install latest CUDA toolkit and drivers on Ubuntu
# Register the Ubuntu Nvidia PPA
add-apt-repository ppa:graphics-driver/ppa
apt update
ubuntu-drivers autoinstall
# Restart the machine
reboot
# Then, once rebooted...
# Install the latest toolkit
apt install nvidia-cuda-toolkit gcc-6
# Check the install was successsful
nvcc --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment