Azure Linux native installation#

Caution

Ensure that the Installation prerequisites are met before installing.

Installing#

Install kernel driver#

sudo tdnf install azurelinux-repos-amd
sudo tdnf repolist --refresh
sudo tdnf install amdgpu
sudo reboot

Uninstalling#

Uninstall kernel-mode driver#

sudo tdnf remove amdgpu amdgpu-firmware kernel-drivers-gpu

Remove AMDGPU repositories#

# Remove the repositories
sudo tdnf remove azurelinux-repos-amd
sudo rm /etc/yum.repos.d/amdgpu.repo*

# Clear the cache and clean the system
sudo rm -rf /var/cache/tdnf
sudo tdnf clean all

# Restart the system
sudo reboot