How To Install libeasyloggingpp-dev on Kali Linux

In this tutorial we learn how to install libeasyloggingpp-dev on Kali Linux. libeasyloggingpp-dev is single-header logging library for C++ applications

Introduction

In this tutorial we learn how to install libeasyloggingpp-dev on Kali Linux.

What is libeasyloggingpp-dev

libeasyloggingpp-dev is:

Easylogging++ is a light-weight, high performance logging library for software written in C++11 and higher. It is highly configurable and extensible, supports both severity- and verbosity-based logging, provides crash handling, STL logging, integration with syslog, log rotation, performance-specific logging for profiling, pointcut-style extensions of third-party code…

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

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

sudo apt-get update

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

sudo apt-get -y install libeasyloggingpp-dev

Install libeasyloggingpp-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libeasyloggingpp-dev

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

sudo aptitude -y install libeasyloggingpp-dev

How To Uninstall libeasyloggingpp-dev on Kali Linux

To uninstall only the libeasyloggingpp-dev package we can use the following command:

sudo apt-get remove libeasyloggingpp-dev

Uninstall libeasyloggingpp-dev And Its Dependencies

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

sudo apt-get -y autoremove libeasyloggingpp-dev

Remove libeasyloggingpp-dev Configurations and Data

To remove libeasyloggingpp-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libeasyloggingpp-dev

Remove libeasyloggingpp-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libeasyloggingpp-dev

Dependencies

libeasyloggingpp-dev have the following dependencies:

References

Summary

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