SUSE Linux Enterprise native installation#

2025-04-11

2 min read time

Applies to Linux

Caution

Ensure that the Installation prerequisites are met before installing.

Registering ROCm repositories#

Register ROCm packages#

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

sudo zypper refresh

Installing#

Install ROCm packages#

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

Complete the Post-installation instructions.

Note

For information about the AMDGPU driver installation, see the Install AMDGPU driver in the AMD Instinct Data Center GPU Documentation.

Upgrading#

To upgrade an existing ROCm installation to a newer version, follow the steps in Register ROCm packages 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.4

Uninstall ROCm packages#

sudo zypper remove rocm-core amdgpu-core
# Or for version specific packages:
sudo zypper remove rocm-core6.4 amdgpu-core

Remove ROCm repositories#

# Remove the repositories
sudo zypper removerepo "ROCm-6.4"

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

# Restart the system
sudo reboot