Azure Linux#
This section covers:
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 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 versionInstall 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}.repoFor
sbsa:# tdnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/${distro}/sbsa/cuda-${distro}.repoClean 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.
Package Upgrades#
When a new version is available, a normal package update command specific for the distribution should suffice in upgrading the driver. The various differences in distributions would take care of obsolency and package switching when performing upgrades to a different branch.
When upgrading the driver to the same stream:
# tdnf update
When upgrading the driver to a different stream:
# tdnf install --allowerasing nvidia-open
This will remove any package which would have dependencies removed.