Skip to content

Commit 5bf8432

Browse files
authored
Merge pull request #105290 from garesgit/patch-1
Update n-series-driver-setup.md
2 parents de07871 + 15baf7e commit 5bf8432

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,11 @@ sudo reboot
110110
```
111111

112112
3. Reconnect to the VM and continue installation with the following commands:
113-
114113
```bash
115114
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
116-
sudo yum install dkms
117-
118-
sudo wget https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo -O /etc/yum.repos.d/cuda-rhel7.repo
119-
120-
sudo yum install cuda-drivers
115+
sudo yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
116+
sudo yum clean all
117+
sudo yum -y install nvidia-driver-latest-dkms cuda-drivers
121118
```
122119

123120
The installation can take several minutes.

0 commit comments

Comments
 (0)