How To Install ghc-MonadRandom on Fedora 36

In this tutorial we learn how to install ghc-MonadRandom in Fedora 36. ghc-MonadRandom is Random-number generation monad

Introduction

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

What is ghc-MonadRandom

Support for computations which consume random values.

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

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

sudo dnf -y install ghc-MonadRandom

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

sudo yum -y install ghc-MonadRandom

How To Uninstall ghc-MonadRandom on Fedora 36

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

sudo dnf remove ghc-MonadRandom

ghc-MonadRandom Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/d5d093dd1076eb899d90ea361504a452762ffa
/usr/lib64/libHSMonadRandom-0.5.3-5YRwhBtHtDWBc4ydoE0zw4-ghc8.10.5.so
/usr/share/licenses/ghc-MonadRandom
/usr/share/licenses/ghc-MonadRandom/LICENSE

References

Summary

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