How To Install libspdlog1.10 on Debian 12

Learn how to install libspdlog1.10 on Debian 12 with this tutorial. libspdlog1.10 is Very fast C++ logging library

Introduction

In this tutorial we learn how to install libspdlog1.10 on Debian 12.

What is libspdlog1.10

libspdlog1.10 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.10 on Debian 12. 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.10 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.10 using apt-get by running the following command:

sudo apt-get -y install libspdlog1.10

Install libspdlog1.10 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libspdlog1.10

Install libspdlog1.10 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libspdlog1.10

How To Uninstall libspdlog1.10 on Debian 12

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

sudo apt-get remove libspdlog1.10

Uninstall libspdlog1.10 And Its Dependencies

To uninstall libspdlog1.10 and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libspdlog1.10

Remove libspdlog1.10 Configurations and Data

To remove libspdlog1.10 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libspdlog1.10

Remove libspdlog1.10 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libspdlog1.10

Dependencies

libspdlog1.10 have the following dependencies:

References

Summary

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