How To Install ghc-either on Fedora 36

In this tutorial we learn how to install ghc-either in Fedora 36. ghc-either is Combinators for working with sums

Introduction

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

What is ghc-either

Combinators for working with sums.

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

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

sudo dnf -y install ghc-either

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

sudo yum -y install ghc-either

How To Uninstall ghc-either on Fedora 36

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

sudo dnf remove ghc-either

ghc-either Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/bda48cdb5e50373878d77342e24bc2c3cb0d0c
/usr/lib64/libHSeither-5.0.1.1-32CAJ8oW61U20BI4enlnVY-ghc8.10.5.so
/usr/share/licenses/ghc-either
/usr/share/licenses/ghc-either/LICENSE

References

Summary

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