How To Install libmetrohash-dev on Debian 12

Learn how to install libmetrohash-dev on Debian 12 with this tutorial. libmetrohash-dev is hash functions for non-cryptographic use cases (headers)

Introduction

In this tutorial we learn how to install libmetrohash-dev on Debian 12.

What is libmetrohash-dev

libmetrohash-dev is:

Set of state-of-the-art hash functions for non-cryptographic use cases. They are notable for being algorithmically generated in addition to their exceptional performance. The set of published hash functions may be expanded in the future, having been selected from a very large set of hash functions that have been constructed this way.

This package provides library headers.

There are three methods to install libmetrohash-dev 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 libmetrohash-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 libmetrohash-dev using apt-get by running the following command:

sudo apt-get -y install libmetrohash-dev

Install libmetrohash-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmetrohash-dev

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

sudo aptitude -y install libmetrohash-dev

How To Uninstall libmetrohash-dev on Debian 12

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

sudo apt-get remove libmetrohash-dev

Uninstall libmetrohash-dev And Its Dependencies

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

sudo apt-get -y autoremove libmetrohash-dev

Remove libmetrohash-dev Configurations and Data

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

sudo apt-get -y purge libmetrohash-dev

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

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

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

Dependencies

libmetrohash-dev have the following dependencies:

References

Summary

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