likwid-setFreq command not found

In this troubleshooting guide we learn how to fix likwid-setFreq command not found error message

Introduction

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

likwid-setFreq: command not found

or when using sudo you get the following error message

sudo: likwid-setFreq: command not found

Solutions to likwid-setFreq: command not found

How To Fix likwid-setFreq: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu likwid-setFreq 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-setFreq command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.