How To Install papi-examples on Kali Linux
Introduction
In this tutorial we learn how to install papi-examples
on Kali Linux.
What is papi-examples
papi-examples 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 examples and tests of the PAPI software.
There are three methods to install papi-examples
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 papi-examples Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install papi-examples
using apt-get
by running the following command:
sudo apt-get -y install papi-examples
Install papi-examples Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install papi-examples
using apt
by running the following command:
sudo apt -y install papi-examples
Install papi-examples 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 papi-examples
using aptitude
by running the following command:
sudo aptitude -y install papi-examples
How To Uninstall papi-examples on Kali Linux
To uninstall only the papi-examples
package we can use the following command:
sudo apt-get remove papi-examples
Uninstall papi-examples And Its Dependencies
To uninstall papi-examples
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove papi-examples
Remove papi-examples Configurations and Data
To remove papi-examples
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge papi-examples
Remove papi-examples configuration, data, and all of its dependencies
We can use the following command to remove papi-examples
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge papi-examples
Dependencies
papi-examples have the following dependencies:
References
Summary
In this tutorial we learn how to install papi-examples
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.