SUSE Linux Enterprise native installation#

2025-08-01

4 min read time

Applies to Linux

Caution

Ensure that the Installation prerequisites are met before installing.

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-6.4.3]
name=ROCm6.4.3
baseurl=https://repo.radeon.com/rocm/zyp/6.4.3/main
enabled=1
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF

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

sudo zypper refresh

Installing#

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

ROCm installation can be tailored to your requirements using one more combinations of ROCm meta packages:

ROCm runtime packages#

Meta package

Description

Legacy use case [1]

rocm

All ROCm core packages, tools, and libraries.

rocm

rocm-language-runtime

ROCm runtime environment for running applications on the AMD platform.

lrt

rocm-hip-runtime

Run HIP applications written for the AMD platform.

hip

rocm-hip-libraries

HIP libraries optimized for the AMD platform.

Legacy use case does not exist.

rocm-opencl-runtime

Run OpenCL-based applications on the AMD platform.

opencl

rocm-ml-libraries

Key machine learning libraries. Includes MIOpen.

mllib

Other packages

amdgpu-lib

For users of graphics applications which require the open source Mesa 3D graphics and multimedia libraries. This package is primarily used for Radeon GPUs.

graphics

hsa-runtime-rocr4wsl-amdgpu

For users of ROCm in a Windows Subsystem for Linux (WSL) context. This package is only supported for Ubuntu.

wsl

ROCm developer packages#

Meta package

Description

Legacy use case [1]

rocm-developer-tools

Debug and profile HIP applications.

rocmdevtools

rocm-hip-runtime-devel

Develop applications on HIP or port from CUDA.

Legacy use case does not exist.

rocm-hip-sdk

Develop or port HIP applications and libraries for the AMD platform.

hiplibsdk

rocm-opencl-sdk

Develop OpenCL-based applications for the AMD platform.

openclsdk

rocm-openmp-sdk

Develop OpenMP-based applications for the AMD software.

openmpsdk

rocm-ml-sdk

Develop and run machine learning applications for AMD.

mlsdk

Footnotes

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 the repositories
sudo zypper removerepo "ROCm-6.4.3"

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

# Restart the system
sudo reboot

Note

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