How To Install ghc-cprng-aes on Fedora 36

In this tutorial we learn how to install ghc-cprng-aes in Fedora 36. ghc-cprng-aes is Crypto Pseudo Random Number Generator using AES in counter mode

Introduction

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

What is ghc-cprng-aes

Simple crypto pseudo-random-number-generator with really good randomness property. Using ent, a randomness property maker on one 1Mb sample bits per byte. Optimum compression would reduce the size of this 1048576 byte file by 0 percent. Chi square distribution for 1048576 samples is 237.02 Arithmetic mean value of data bytes is 127.3422 (127.5 = random) Monte Carlo value for Pi is 3.143589568 (error 0.06 percent) Compared to urandom with the same sampling Optimum compression would reduce the size of this 1048576 byte file by 0 percent. Chi square distribution for 1048576 samples is 246.63 Arithmetic mean value of data bytes is 127.6347 (127.5 = random). Monte Carlo value for Pi is 3.132465868 (error 0.29 percent).

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

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

sudo dnf -y install ghc-cprng-aes

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

sudo yum -y install ghc-cprng-aes

How To Uninstall ghc-cprng-aes on Fedora 36

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

sudo dnf remove ghc-cprng-aes

ghc-cprng-aes Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/afe2c6a0e018d4fbbaf81ceeedf6dfc9a696a2
/usr/lib64/libHScprng-aes-0.6.1-9kTtsXUNmFQUEG08Nwfsa-ghc8.10.5.so
/usr/share/licenses/ghc-cprng-aes
/usr/share/licenses/ghc-cprng-aes/LICENSE

References

Summary

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