Last active
February 4, 2022 12:38
-
-
Save MittalShruti/1eab8a81d8bb494a7eca37fd83229ec9 to your computer and use it in GitHub Desktop.
install CUDA 10.0
This file contains hidden or 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
#Get PPA repo drivers and Install CUDA 10.0 | |
curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_10.0.130-1_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1604_10.0.130-1_amd64.deb | |
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub | |
sudo apt-get update | |
sudo apt-get install cuda-10-0 cuda-drivers -y | |
#Set the environment for cuda 10.0 | |
nano ~/.bashrc | |
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}$ | |
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} | |
source ~/.bashrc | |
sudo ldconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment