likwid-perfctr command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
likwid-perfctr: command not found
or when using sudo you get the following error message
sudo: likwid-perfctr: command not found
Solutions to likwid-perfctr: command not found
How To Fix likwid-perfctr: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu likwid-perfctr is provided by likwid package.
likwid is:
Likwid is a simple to install and use toolsuite of command line applications for performance oriented programmers. It works for Intel and AMD processors on the Linux operating system.
It consists of:
likwid-topology - print thread and cache topology likwid-features - view and toggle feature reagister on Intel processors likwid-perfctr - configure and read out hardware performance counters on Intel and AMD processors likwid-powermeter - read out RAPL Energy information and get info about Turbo Mode steps likwid-setFrequencies - read out RAPL Energy information and get info about Turbo Mode steps likwid-memsweeper - cleans up filled NUMA memory domains and evicts dirty cacheline from cache hierarchy likwid-pin - pin your threaded application (pthread, Intel and gcc OpenMP to dedicated processors likwid-bench - Micro benchmarking platform likwid-gencfg - Dumps topology information to a file likwid-mpirun - Wrapper to start MPI and Hybrid MPI/OpenMP applications (Supports Intel MPI and OpenMPI) likwid-scope - Frontend to the timeline mode of likwid-perfctr, plots live graphs of performance metrics
To fix this problem, we can install more using the command below.
sudo apt-get -y install likwid
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install likwid.
sudo apt -y install likwid
Or if you have aptitude installed you can use the following command.
sudo aptitude install likwid
Summary
In this tutorial we learn how to fix likwid-perfctr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.