Skip to content

Commit 4584e4b

Browse files
authored
Update n-series-driver-setup.md
Modified centos7 and RHEL8 install procedure. removed specific cuda repo to update the new cuda public key
1 parent d0efcc7 commit 4584e4b

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

articles/virtual-machines/linux/n-series-driver-setup.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,7 @@ sudo reboot
115115
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
116116
sudo yum install dkms
117117
118-
CUDA_REPO_PKG=cuda-repo-rhel7-10.0.130-1.x86_64.rpm
119-
wget https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/${CUDA_REPO_PKG} -O /tmp/${CUDA_REPO_PKG}
120-
121-
sudo rpm -ivh /tmp/${CUDA_REPO_PKG}
122-
rm -f /tmp/${CUDA_REPO_PKG}
118+
wget https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo /etc/yum.repos.d/cuda-rhel7.repo
123119
124120
sudo yum install cuda-drivers
125121
```
@@ -136,11 +132,7 @@ For example, CentOS 8 and RHEL 8 will need the following steps.
136132
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
137133
sudo yum install dkms
138134
139-
CUDA_REPO_PKG=cuda-repo-rhel8-10.2.89-1.x86_64.rpm
140-
wget https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/${CUDA_REPO_PKG} -O /tmp/${CUDA_REPO_PKG}
141-
142-
sudo rpm -ivh /tmp/${CUDA_REPO_PKG}
143-
rm -f /tmp/${CUDA_REPO_PKG}
135+
wget https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo /etc/yum.repos.d/cuda-rhel8.repo
144136
145137
sudo yum install cuda-drivers
146138
```

0 commit comments

Comments
 (0)