This is not the latest version of ROCm documentation. See ROCm documentation for the latest version.

Post-installation instructions

Post-installation instructions#

Applies to Linux

2024-07-25

2 min read time

  1. Configure the system linker.

    Instruct the system linker where to find shared objects (.so files) for ROCm applications.

    sudo tee --append /etc/ld.so.conf.d/rocm.conf <<EOF
    /opt/rocm/lib
    /opt/rocm/lib64
    EOF
    sudo ldconfig
    
  2. Configure PATH.

    Add binary paths to the PATH environment variable.

    export PATH=$PATH:/opt/rocm-6.2.0/bin
    
  1. Verify kernel-mode driver installation.

    dkms status
    
  2. Verify ROCm installation.

    /opt/rocm-6.2.0/bin/rocminfo
    /opt/rocm-6.2.0/bin/clinfo
    
  3. Verify package installation.

    sudo apt list --installed
    
    sudo dnf list installed
    
    sudo zypper search --installed-only