packages.nvidia.com

Install CUDA Toolkit

tdnf
CUDA Toolkit on Azure Linux 3 · package cuda-toolkit
1 · Enable the repoone-time

Add the NVIDIA repo for azl3 once, then install any package.

Enable azl3 repo →
2 · Installazl3
# Install (dnf + extended repos were set up in the repo-enable step above)
sudo dnf clean all
sudo dnf install -y cuda-toolkit