SUSE Linux Enterprise multi-version installation#
2025-10-10
3 min read time
Caution
Ensure that the Installation prerequisites are met before installing.
Note
Multi-version installation is only supported for SLES 15.6.
Registering ROCm repositories#
# Note: There is NO trailing .0 in the patch version for repositories
for ver in 6.4.2 6.4; do
sudo tee --append /etc/zypp/repos.d/rocm.repo <<EOF
[ROCm-$ver]
name=ROCm$ver
baseurl=https://repo.radeon.com/rocm/zyp/$ver/main
enabled=1
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF
done
sudo zypper refresh
# Note: There is NO trailing .0 in the patch version for repositories
for ver in 6.4.2 6.4; do
sudo tee --append /etc/zypp/repos.d/rocm.repo <<EOF
[ROCm-$ver]
name=ROCm$ver
baseurl=https://repo.radeon.com/rocm/zyp/$ver/main
enabled=1
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF
done
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 kernel-space support matrix.
Install ROCm#
Before proceeding with a multi-version ROCm installation, you must remove ROCm packages that were previously installed from a single-version installation to avoid conflicts.
# Note: There IS a trailing .0 in the patch version for packages
for ver in 6.4.2 6.4.0; do
sudo zypper --gpg-auto-import-keys install rocm$ver
done
Note
For versions earlier than ROCm 6.0.0, use rocm-hip-sdk instead of rocm (for example, rocm-hip-sdk5.7.1).
Post-installation#
Complete the Post-installation instructions.
Tip
For a single-version installation of the latest ROCm version on SLES, use the steps in Registering ROCm repositories and Installing.
Uninstalling#
Uninstall specific meta packages#
# Note: There IS a trailing .0 in the patch version for packages
for ver in 6.4.2 6.4.0; do
sudo zypper remove rocm$ver
done
Uninstall ROCm packages#
# Note: There IS a trailing .0 in the patch version for packages
for ver in 6.4.2 6.4.0; do
sudo zypper remove rocm-core$ver amdgpu-core$ver
done
Remove ROCm repositories#
# Remove the repositories
# Note: There is NO trailing .0 in the patch version for repositories
for ver in 6.4.2 6.4; do
sudo zypper removerepo "ROCm-$ver"
done
# Clear cache and clean system
sudo zypper clean --all
sudo zypper refresh
# Restart the system
sudo reboot