How To Install ghc-cryptohash on Fedora 36

In this tutorial we learn how to install ghc-cryptohash in Fedora 36. ghc-cryptohash is Collection of crypto hashes, fast, pure and practical

Introduction

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

What is ghc-cryptohash

DEPRECATED for new projects and convert old one to use cryptonite. This is where things are at nowadays. A collection of crypto hashes, with a practical incremental and one-pass, pure APIs, with performance close to the fastest implementations available in other languages. The implementations are made in C with a Haskell FFI wrapper that hide the C implementation.

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

Install ghc-cryptohash 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-cryptohash using dnf by running the following command:

sudo dnf -y install ghc-cryptohash

Install ghc-cryptohash 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-cryptohash using yum by running the following command:

sudo yum -y install ghc-cryptohash

How To Uninstall ghc-cryptohash on Fedora 36

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

sudo dnf remove ghc-cryptohash

ghc-cryptohash Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/cc52424d0d2edb72848438f5713e454d634bf8
/usr/lib64/libHScryptohash-0.11.9-FxjYhDLOO65EG7iACHenHS-ghc8.10.5.so
/usr/share/licenses/ghc-cryptohash
/usr/share/licenses/ghc-cryptohash/LICENSE

References

Summary

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