How To Install ghc-monad-logger on Fedora 36

In this tutorial we learn how to install ghc-monad-logger in Fedora 36. ghc-monad-logger is Class of monads which can log messages

Introduction

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

What is ghc-monad-logger

See README and Haddocks at <https

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

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

sudo dnf -y install ghc-monad-logger

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

sudo yum -y install ghc-monad-logger

How To Uninstall ghc-monad-logger on Fedora 36

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

sudo dnf remove ghc-monad-logger

ghc-monad-logger Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/b910743e398d985dedd8646ebd4bcc37f8e9d4
/usr/lib64/libHSmonad-logger-0.3.36-6YMQWqx91oUAEOgLGfWvYU-ghc8.10.5.so
/usr/share/licenses/ghc-monad-logger
/usr/share/licenses/ghc-monad-logger/LICENSE

References

Summary

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