How To Install libxxhash-dev on Debian 10

Learn how to install libxxhash-dev on Debian 10 with this tutorial. libxxhash-dev is header files and a static library for libxxhash

Introduction

In this tutorial we learn how to install libxxhash-dev on Debian 10.

What is libxxhash-dev

libxxhash-dev is:

xxHash is an Extremely fast Hash algorithm, running at RAM speed limits. It successfully completes the SMHasher test suite which evaluates collision, dispersion and randomness qualities of hash functions. Code is highly portable, and hashes are identical on all platforms (little / big endian).

This package contains xxHash static library and header files.

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

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

sudo apt-get -y install libxxhash-dev

Install libxxhash-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libxxhash-dev

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

sudo aptitude -y install libxxhash-dev

How To Uninstall libxxhash-dev on Debian 10

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

sudo apt-get remove libxxhash-dev

Uninstall libxxhash-dev And Its Dependencies

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

sudo apt-get -y autoremove libxxhash-dev

Remove libxxhash-dev Configurations and Data

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

sudo apt-get -y purge libxxhash-dev

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

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

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

Dependencies

libxxhash-dev have the following dependencies:

References

Summary

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