papi_native_avail command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
papi_native_avail: command not found
or when using sudo you get the following error message
sudo: papi_native_avail: command not found
Solutions to papi_native_avail: command not found
How To Fix papi_native_avail: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu papi_native_avail is provided by papi-tools package.
papi-tools is:
Performance Application Programming Interface (PAPI) provides the tool designer and application engineer with a consistent interface and methodology for use of the performance counter hardware found in most major microprocessors. PAPI enables software engineers to see, in near real time, the relation between software performance and processor events.
In addition Component PAPI provides access to a collection of components that expose performance measurement opportunites across the hardware and software stack.
This package provides utilities provided by the PAPI software.
To fix this problem, we can install more using the command below.
sudo apt-get -y install papi-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install papi-tools.
sudo apt -y install papi-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install papi-tools
Summary
In this tutorial we learn how to fix papi_native_avail command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.