How To Install likwid on Kali Linux

In this tutorial we learn how to install likwid on Kali Linux. likwid is toolsuite for performance oriented programmers

Introduction

In this tutorial we learn how to install likwid on Kali Linux.

What is likwid

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

There are three methods to install likwid on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install likwid Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install likwid using apt-get by running the following command:

sudo apt-get -y install likwid

Install likwid Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install likwid using apt by running the following command:

sudo apt -y install likwid

Install likwid Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install likwid using aptitude by running the following command:

sudo aptitude -y install likwid

How To Uninstall likwid on Kali Linux

To uninstall only the likwid package we can use the following command:

sudo apt-get remove likwid

Uninstall likwid And Its Dependencies

To uninstall likwid and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove likwid

Remove likwid Configurations and Data

To remove likwid configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge likwid

Remove likwid configuration, data, and all of its dependencies

We can use the following command to remove likwid configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge likwid

Dependencies

likwid have the following dependencies:

References

Summary

In this tutorial we learn how to install likwid package on Kali Linux using different package management tools: apt, apt-get and aptitude.