Skip to content

Commit 4b2bf99

Browse files
Update n-series-driver-setup.md
1 parent b252495 commit 4b2bf99

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

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

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,30 +48,21 @@ Then run installation commands specific for your distribution.
4848
> [!NOTE]
4949
> 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-keyring_1.0-1_all.deb
55-
wget -O /tmp/${CUDA_REPO_PKG} https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/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/ubuntu2004/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.
6662

67-
68-
2. To optionally install the complete CUDA toolkit, type:
69-
70-
```bash
71-
sudo apt-get install cuda
7263
```
7364
74-
3. Reboot the VM and proceed to verify the installation.
65+
2. Reboot the VM and proceed to verify the installation.
7566
7667
#### CUDA driver updates
7768
@@ -86,6 +77,7 @@ sudo apt-get install cuda-drivers
8677
sudo reboot
8778
```
8879

80+
8981
### CentOS or Red Hat Enterprise Linux
9082

9183
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)