How To Install ghc-either-devel on Fedora 36

In this tutorial we learn how to install ghc-either-devel in Fedora 36. ghc-either-devel is Haskell either library development files

Introduction

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

What is ghc-either-devel

This package provides the Haskell either library development files.

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

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

sudo dnf -y install ghc-either-devel

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

sudo yum -y install ghc-either-devel

How To Uninstall ghc-either-devel on Fedora 36

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

sudo dnf remove ghc-either-devel

ghc-either-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/either-5.0.1.1
/usr/lib64/ghc-8.10.5/either-5.0.1.1/Data
/usr/lib64/ghc-8.10.5/either-5.0.1.1/Data/Either
/usr/lib64/ghc-8.10.5/either-5.0.1.1/Data/Either/Combinators.dyn_hi
/usr/lib64/ghc-8.10.5/either-5.0.1.1/Data/Either/Combinators.hi
/usr/lib64/ghc-8.10.5/either-5.0.1.1/Data/Either/Validation.dyn_hi
/usr/lib64/ghc-8.10.5/either-5.0.1.1/Data/Either/Validation.hi
/usr/lib64/ghc-8.10.5/either-5.0.1.1/libHSeither-5.0.1.1-32CAJ8oW61U20BI4enlnVY.a
/usr/lib64/ghc-8.10.5/package.conf.d/either-5.0.1.1.conf
/usr/share/doc/ghc-either-devel
/usr/share/doc/ghc-either-devel/CHANGELOG.markdown
/usr/share/doc/ghc-either-devel/README.markdown

References

Summary

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