How To Install libsdsl3 on Debian 11

In this tutorial we learn how to install libsdsl3 on Debian 11. libsdsl3 is succinct data structure library

Introduction

In this tutorial we learn how to install libsdsl3 on Debian 11.

What is libsdsl3

libsdsl3 is:

The Succinct Data Structure Library (SDSL) is a powerful and flexible C++11 library implementing succinct data structures. In total, the library contains the highlights of 40 research publications. Succinct data structures can represent an object (such as a bitvector or a tree) in space close the information-theoretic lower bound of the object while supporting operations of the original object efficiently. The theoretical time complexity of an operations performed on the classical data structure and the equivalent succinct data structure are (most of the time) identical.

This package installs static library.

There are three methods to install libsdsl3 on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libsdsl3 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libsdsl3

Install libsdsl3 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsdsl3

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

sudo aptitude -y install libsdsl3

How To Uninstall libsdsl3 on Debian 11

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

sudo apt-get remove libsdsl3

Uninstall libsdsl3 And Its Dependencies

To uninstall libsdsl3 and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libsdsl3

Remove libsdsl3 Configurations and Data

To remove libsdsl3 configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libsdsl3

Remove libsdsl3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsdsl3

Dependencies

libsdsl3 have the following dependencies:

References

Summary

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