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