How To Install ghc-entropy on Fedora 36

In this tutorial we learn how to install ghc-entropy in Fedora 36. ghc-entropy is A platform independent entropy source

Introduction

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

What is ghc-entropy

A mostly platform independent method to obtain cryptographically strong entropy (RDRAND, urandom, CryptAPI, and patches welcome) Users looking for cryptographically strong (number-theoretically sound) PRNGs should see the ‘DRBG’ package too.

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

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

sudo dnf -y install ghc-entropy

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

sudo yum -y install ghc-entropy

How To Uninstall ghc-entropy on Fedora 36

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

sudo dnf remove ghc-entropy

ghc-entropy Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/0d78319c69c1699d29ff154d979e351acc8450
/usr/lib64/libHSentropy-0.4.1.6-mwZ4jE2F7MEzr0ctFVs6J-ghc8.10.5.so
/usr/share/licenses/ghc-entropy
/usr/share/licenses/ghc-entropy/LICENSE

References

Summary

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