Skip to content

Commit 1e33737

Browse files
authored
Error command downloading NVIDIA repo
- Adding sudo to be able to save the file in /etc/yum.repos.d directory - Adding -O to be able to sabe the file with the specified name in that folder
1 parent 1c0c2a2 commit 1e33737

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +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-
wget https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo /etc/yum.repos.d/cuda-rhel7.repo
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
119119
120120
sudo yum install cuda-drivers
121121
```
@@ -132,7 +132,7 @@ For example, CentOS 8 and RHEL 8 will need the following steps.
132132
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
133133
sudo yum install dkms
134134
135-
wget https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo /etc/yum.repos.d/cuda-rhel8.repo
135+
sudo wget https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo -O /etc/yum.repos.d/cuda-rhel8.repo
136136
137137
sudo yum install cuda-drivers
138138
```

0 commit comments

Comments
 (0)