SUSE Linux Enterprise native installation#
2025-01-24
3 min read time
Applies to Linux
Caution
Ensure that the Installation prerequisites are met before installing.
Registering ROCm repositories#
Register kernel-mode driver#
sudo tee /etc/zypp/repos.d/amdgpu.repo <<EOF
[amdgpu]
name=amdgpu
baseurl=https://repo.radeon.com/amdgpu/6.3.3/sle/15.6/main/x86_64/
enabled=1
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF
sudo zypper refresh
sudo tee /etc/zypp/repos.d/amdgpu.repo <<EOF
[amdgpu]
name=amdgpu
baseurl=https://repo.radeon.com/amdgpu/6.3.3/sle/15.5/main/x86_64/
enabled=1
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF
sudo zypper refresh
Register ROCm packages#
sudo tee --append /etc/zypp/repos.d/rocm.repo <<EOF
[ROCm-6.3.3]
name=ROCm6.3.3
baseurl=https://repo.radeon.com/rocm/zyp/6.3.3/main
enabled=1
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF
sudo zypper refresh
Installing#
Install kernel driver#
sudo zypper --gpg-auto-import-keys install amdgpu-dkms
sudo reboot
Install ROCm packages#
sudo zypper --gpg-auto-import-keys install rocm
Complete the Post-installation instructions.
Upgrading#
To upgrade an existing ROCm installation to a newer version, follow the steps in Registering ROCm repositories and Installing.
Note
Upgrading the kernel driver may also upgrade the GPU firmware, which requires a system reboot to take effect.
Uninstalling#
Uninstall specific meta packages#
# sudo zypper remove <package-name>
# For example:
sudo zypper remove rocm
# Or, for version specific packages:
sudo zypper remove rocm6.3.3
Uninstall ROCm packages#
sudo zypper remove rocm-core
# Or for version specific packages:
sudo zypper remove rocm-core6.3.3
Uninstall kernel-mode driver#
sudo zypper remove amdgpu-dkms amdgpu-core
Remove ROCm and AMDGPU repositories#
# Remove the repositories
sudo zypper removerepo "ROCm-6.3.3"
sudo zypper removerepo "amdgpu"
# Clear cache and clean system
sudo zypper clean --all
sudo zypper refresh
# Restart the system
sudo reboot