How To Install libwyhash-dev on Debian 12

Learn how to install libwyhash-dev on Debian 12 with this tutorial. libwyhash-dev is fast, high-quality, portable hash function (development files)

Introduction

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

What is libwyhash-dev

libwyhash-dev is:

Wyhash is a general-purpose non-cryptographic hash function. It produces high-quality output that passes the SMHasher test suite and is portable to 32- and 64-bit big- and little-endian platforms. Wyhash is small and quite fast, especially on 64-bit platforms.

This package contains Wyhash as a header-only library.

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

sudo apt-get -y install libwyhash-dev

Install libwyhash-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libwyhash-dev

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

sudo aptitude -y install libwyhash-dev

How To Uninstall libwyhash-dev on Debian 12

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

sudo apt-get remove libwyhash-dev

Uninstall libwyhash-dev And Its Dependencies

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

sudo apt-get -y autoremove libwyhash-dev

Remove libwyhash-dev Configurations and Data

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

sudo apt-get -y purge libwyhash-dev

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

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

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

Dependencies

libwyhash-dev have the following dependencies:

References

Summary

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