How To Install ghc-cond on Fedora 36

In this tutorial we learn how to install ghc-cond in Fedora 36. ghc-cond is Basic conditional and boolean operators with monadic variants

Introduction

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

What is ghc-cond

This library provides * Implementations of various overloaded conditional operations * Lifted monadic variants of those operations and common boolean operators * A typeclass for boolean algebras. Feel free to send ideas and suggestions for new conditional operators to the maintainer. Monadic looping constructs are not included as part of this package, since the monad-loops package has a fairly complete collection of them already.

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

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

sudo dnf -y install ghc-cond

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

sudo yum -y install ghc-cond

How To Uninstall ghc-cond on Fedora 36

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

sudo dnf remove ghc-cond

ghc-cond Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/af
/usr/lib/.build-id/af/dbeb1ae1dfe86a0c13b7fc1f57e7e528b16735
/usr/lib64/libHScond-0.4.1.1-HAXeYFs5rt3AUTuNY1aGog-ghc8.10.5.so
/usr/share/licenses/ghc-cond
/usr/share/licenses/ghc-cond/LICENSE

References

Summary

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