How To Install libstxxl-dev on Debian 9

In this tutorial we learn how to install libstxxl-dev on Debian 9. libstxxl-dev is Development libraries for STXXL

Introduction

In this tutorial we learn how to install libstxxl-dev on Debian 9.

What is libstxxl-dev

libstxxl-dev is:

STXXL provides an STL replacement using an abstraction layer to storage devices to allow for the optimal layout of data structures. This allows for multi-terabyte datasets to be held and manipulated in standard C++ data structures, whilst abstracting the complexity of managing this behaviour efficiently. STXXL utilises multi-disk I/O to speed up I/O bound calculations. STXXL has been developed at the University of Karlsruhe.

Development libraries for STXXL, required for building programs that utilise the STXXL library

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

Install libstxxl-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 libstxxl-dev using apt-get by running the following command:

sudo apt-get -y install libstxxl-dev

Install libstxxl-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libstxxl-dev

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

sudo aptitude -y install libstxxl-dev

How To Uninstall libstxxl-dev on Debian 9

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

sudo apt-get remove libstxxl-dev

Uninstall libstxxl-dev And Its Dependencies

To uninstall libstxxl-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libstxxl-dev

Remove libstxxl-dev Configurations and Data

To remove libstxxl-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libstxxl-dev

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

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

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

Dependencies

libstxxl-dev have the following dependencies:

References

Summary

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