How To Install ghc-data-hash on Fedora 36

In this tutorial we learn how to install ghc-data-hash in Fedora 36. ghc-data-hash is Combinators for building fast hashing functions

Introduction

In this tutorial we learn how to install ghc-data-hash on Fedora 36.

What is ghc-data-hash

Combinators for building fast hashing functions. Includes hashing functions for all basic Haskell98 types.

We can use yum or dnf to install ghc-data-hash on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-data-hash.

Install ghc-data-hash on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ghc-data-hash using dnf by running the following command:

sudo dnf -y install ghc-data-hash

Install ghc-data-hash on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ghc-data-hash using yum by running the following command:

sudo yum -y install ghc-data-hash

How To Uninstall ghc-data-hash on Fedora 36

To uninstall only the ghc-data-hash package we can use the following command:

sudo dnf remove ghc-data-hash

ghc-data-hash Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/df
/usr/lib/.build-id/df/7763364fc3b7ce35160ce303464e69f58d22d2
/usr/lib64/libHSdata-hash-0.2.0.1-LkMc0bqAeQBxfk0jyLwD8-ghc8.10.5.so
/usr/share/licenses/ghc-data-hash
/usr/share/licenses/ghc-data-hash/LICENSE

References

Summary

In this tutorial we learn how to install ghc-data-hash on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).