Skip to content

Commit 80b4626

Browse files
Merge pull request #233097 from vikancha-MSFT/patch-67
Update n-series-driver-setup.md
2 parents 5c928a1 + 05a180e commit 80b4626

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

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

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,32 +46,21 @@ Then run installation commands specific for your distribution.
4646

4747
1. Download and install the CUDA drivers from the NVIDIA website.
4848
> [!NOTE]
49-
> The example below shows the CUDA package path for Ubuntu 16.04. Replace the path specific to the version you plan to use.
49+
> The example below shows the CUDA package path for Ubuntu 20.04. Replace the path specific to the version you plan to use.
5050
>
51-
> Visit the [Nvidia Download Center](https://developer.download.nvidia.com/compute/cuda/repos/) for the full path specific to each version.
51+
> Visit the [NVIDIA Download Center](https://developer.download.nvidia.com/compute/cuda/repos/) or the [NVIDIA CUDA Resources page](https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_network) for the full path specific to each version.
5252
>
5353
```bash
54-
CUDA_REPO_PKG=cuda-repo-ubuntu1604_10.0.130-1_amd64.deb
55-
wget -O /tmp/${CUDA_REPO_PKG} https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/${CUDA_REPO_PKG}
56-
57-
sudo dpkg -i /tmp/${CUDA_REPO_PKG}
58-
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/3bf863cc.pub
59-
rm -f /tmp/${CUDA_REPO_PKG}
60-
54+
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
55+
sudo dpkg -i cuda-keyring_1.0-1_all.deb
6156
sudo apt-get update
62-
sudo apt-get install cuda-drivers
57+
sudo apt-get -y install cuda-drivers
58+
6359
```
6460

6561
The installation can take several minutes.
66-
6762

68-
2. To optionally install the complete CUDA toolkit, type:
69-
70-
```bash
71-
sudo apt-get install cuda
72-
```
73-
74-
3. Reboot the VM and proceed to verify the installation.
63+
2. Reboot the VM and proceed to verify the installation.
7564

7665
#### CUDA driver updates
7766

@@ -86,6 +75,7 @@ sudo apt-get install cuda-drivers
8675
sudo reboot
8776
```
8877

78+
8979
### CentOS or Red Hat Enterprise Linux
9080

9181
1. Update the kernel (recommended). If you choose not to update the kernel, ensure that the versions of `kernel-devel` and `dkms` are appropriate for your kernel.

0 commit comments

Comments
 (0)