Last active
July 28, 2021 07:10
-
-
Save Praveenk8051/ac0f76073c9fdacd1a6c7663e3c85e1d to your computer and use it in GitHub Desktop.
Download the CuDA package
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
# 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 |
@Bearbice Thank you for pointing out
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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