Skip to content

Instantly share code, notes, and snippets.

@Praveenk8051
Last active July 28, 2021 07:10
Show Gist options
  • Save Praveenk8051/ac0f76073c9fdacd1a6c7663e3c85e1d to your computer and use it in GitHub Desktop.
Save Praveenk8051/ac0f76073c9fdacd1a6c7663e3c85e1d to your computer and use it in GitHub Desktop.
Download the CuDA package
# Install build essentials
sudo apt-get install g++ freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev
# Download CuDA from following path
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
# read as a DebianPackage
sudo apt-key adv - fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
sudo dpkg -i cuda-repo-ubuntu1804_10.0.130–1_amd64.deb
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
# install cuda-10.0
sudo apt install cuda-10.0
@Bearbrice
Copy link

Bearbrice commented Jul 27, 2021

Line 6 you have a missing dash "-". It should be replace by "--" :
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub

I guess it is the same for line 8 as well

@Praveenk8051
Copy link
Author

Praveenk8051 commented Jul 28, 2021

@Bearbice Thank you for pointing out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment