Created
March 19, 2019 04:09
-
-
Save ikbelkirasan/6d157d9ea69bc0ba1d72e2da53519dfd to your computer and use it in GitHub Desktop.
Install Cuda on Ubuntu 18.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt purge nvidia* | |
sudo apt autoremove | |
sudo dpkg -i cuda-repo-ubuntu1804-10-1-local-10.1.105-418.39_1.0-1_amd64.deb | |
sudo apt-key add /var/cuda-repo-<version>/7fa2af80.pub # replace <version> with the correct one | |
sudo apt update | |
sudo apt install cuda | |
sudo apt install nvidia-cuda-toolkit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment