SUSE Linux Enterprise Server native installation#

Caution

Ensure that the Installation prerequisites are met.

Note

The following installation steps also apply when upgrading from a previous ROCm version.

Registering ROCm repositories#

sudo tee /etc/zypp/repos.d/rocm.repo <<EOF
[rocm]
name=ROCm 7.2.0 repository
baseurl=https://repo.radeon.com/rocm/zyp/7.2.0/main
enabled=1
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key

[amdgraphics]
name=AMD Graphics 7.2.0 repository
baseurl=https://repo.radeon.com/graphics/7.2.0/sle/15.7/main/x86_64/
enabled=1
priority=50
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF
sudo zypper refresh

Installing#

Install kernel driver#

For information about the AMDGPU driver installation, see the SUSE Linux Enterprise Server native installation in the AMD Instinct Data Center GPU Documentation.

For information about driver compatibility, see User and AMD GPU Driver (amdgpu) support matrix.

Install ROCm#

sudo zypper --gpg-auto-import-keys install rocm

Post-installation#

Complete the Post-installation instructions.

Uninstalling#

Uninstall ROCm meta packages#

sudo zypper remove rocm
sudo zypper remove rocm-core amdgpu-core

Remove ROCm repositories#

# Remove ROCm repositories
sudo zypper removerepo "rocm"
sudo zypper removerepo "amdgraphics"

# Clear cache and clean system
sudo zypper clean --all
sudo zypper refresh

Important

To apply all settings, reboot your system.