Azure Linux#
This section covers:
Azure Linux 2 (CBL Mariner 2.0)
Azure Linux 3
Preparation#
Perform the Pre-installation Actions.
The kernel headers and development packages for the currently running kernel can be installed with:
# tdnf install kernel-devel-$(uname -r) kernel-headers-$(uname -r) kernel-modules-extra-$(uname -r)
Enable the extended repository:
Azure Linux 2:
# tdnf install mariner-repos-extended
Azure Linux 3:
# tdnf install azurelinux-repos-extended
Choose an installation method: Local Repository Installation or Network Repository Installation.
Local Repository Installation#
Download the NVIDIA driver:
$ wget https://developer.download.nvidia.com/compute/nvidia-driver/$version/local_installers/nvidia-driver-local-repo-$distro.$version.$arch.rpmwhere
$version
is the NVIDIA driver version
Install local repository on file system:
# rpm --install nvidia-driver-local-repo-$distro.$version*.$arch.rpm
Network Repository Installation#
Enable the network repository. For
x86_64
:# tdnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/cuda-$distro.repo
For
sbsa
:# tdnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/$distro/sbsa/cuda-$distro.repo
Clean DNF repository cache:
# tdnf clean expire-cache
Driver Installation#
These instructions apply to both local and network installations.
# tdnf install nvidia-open
Reboot the System#
# reboot
Perform the Post-installation Actions.