Skip to content

Commit 7596f2a

Browse files
authored
Update cuda-toolkit.sh
1 parent 23640ce commit 7596f2a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cuda-toolkit.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
2-
mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
3-
wget https://developer.download.nvidia.com/compute/cuda/12.6.3/local_installers/cuda-repo-ubuntu2204-12-6-local_12.6.3-560.35.05-1_amd64.deb
4-
dpkg -i cuda-repo-ubuntu2204-12-6-local_12.6.3-560.35.05-1_amd64.deb
5-
cp -r /var/cuda-repo-ubuntu2204-12-6-local/cuda-*-keyring.gpg /usr/share/keyrings/
1+
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
2+
mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
3+
wget https://developer.download.nvidia.com/compute/cuda/12.6.3/local_installers/cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_amd64.deb
4+
dpkg -i cuda-repo-ubuntu2004-12-6-local_12.6.3-560.35.05-1_amd64.deb
5+
cp -r /var/cuda-repo-ubuntu2004-12-6-local/cuda-*-keyring.gpg /usr/share/keyrings/
66
apt-get update
77
apt-get -y install cuda-toolkit-12-6
88
apt-get install -y cuda-drivers

0 commit comments

Comments
 (0)