rocm_agent_enumerator command not found

In this troubleshooting guide we learn how to fix rocm_agent_enumerator command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

rocm_agent_enumerator: command not found

or when using sudo you get the following error message

sudo: rocm_agent_enumerator: command not found

Solutions to rocm_agent_enumerator: command not found

How To Fix rocm_agent_enumerator: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rocm_agent_enumerator is provided by rocminfo package.

rocminfo is:

rocminfo gives information about the HSA system attributes and agents. This package is part of AMD ROCm software stack.

To fix this problem, we can install more using the command below.

sudo apt-get -y install rocminfo

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install rocminfo.

sudo apt -y install rocminfo

Or if you have aptitude installed you can use the following command.

sudo aptitude install rocminfo

Summary

In this tutorial we learn how to fix rocm_agent_enumerator command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.