How To Install libspdlog1 on Kali Linux

In this tutorial we learn how to install libspdlog1 on Kali Linux. libspdlog1 is Very fast C++ logging library

Introduction

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

What is libspdlog1

libspdlog1 is:

Features: Very fast - performance is the primary goal; Headers only; No dependencies - just copy and use; call style using the excellent cppformat library; ostream call style is supported too; Optional extremely fast asynchronous mode - using lockfree queues and other tricks to reach millions of calls/sec; Custom formatting; Multi/Single threaded loggers; Easily extendable with custom log targets (just implement a single function in the sink interface). Severity based filtering - threshold levels can be modified in runtime as well as in compile time.

Various log targets: Rotating log files, Daily log files, Console logging, Linux syslog.

This is the compiled version of the library.

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

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

sudo apt-get update

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

sudo apt-get -y install libspdlog1

Install libspdlog1 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libspdlog1

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

sudo aptitude -y install libspdlog1

How To Uninstall libspdlog1 on Kali Linux

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

sudo apt-get remove libspdlog1

Uninstall libspdlog1 And Its Dependencies

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

sudo apt-get -y autoremove libspdlog1

Remove libspdlog1 Configurations and Data

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

sudo apt-get -y purge libspdlog1

Remove libspdlog1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libspdlog1

Dependencies

libspdlog1 have the following dependencies:

References

Summary

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