How To Install libbenchmark1 on Kali Linux

In this tutorial we learn how to install libbenchmark1 on Kali Linux. libbenchmark1 is Microbenchmark support library, shared library

Introduction

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

What is libbenchmark1

libbenchmark1 is:

Library to support the benchmarking of functions, similar to unit-tests.

This package contains the shared library.

There are three methods to install libbenchmark1 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 libbenchmark1 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libbenchmark1

Install libbenchmark1 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libbenchmark1

Install libbenchmark1 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 libbenchmark1 using aptitude by running the following command:

sudo aptitude -y install libbenchmark1

How To Uninstall libbenchmark1 on Kali Linux

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

sudo apt-get remove libbenchmark1

Uninstall libbenchmark1 And Its Dependencies

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

sudo apt-get -y autoremove libbenchmark1

Remove libbenchmark1 Configurations and Data

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

sudo apt-get -y purge libbenchmark1

Remove libbenchmark1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libbenchmark1

Dependencies

libbenchmark1 have the following dependencies:

References

Summary

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