How To Install ghc-IfElse on Fedora 36

In this tutorial we learn how to install ghc-IfElse in Fedora 36. ghc-IfElse is Anaphoric and miscellaneous useful control-flow

Introduction

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

What is ghc-IfElse

Anaphoric and miscellaneous useful control-flow.

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

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

sudo dnf -y install ghc-IfElse

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

sudo yum -y install ghc-IfElse

How To Uninstall ghc-IfElse on Fedora 36

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

sudo dnf remove ghc-IfElse

ghc-IfElse Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/5f0632bc6c50276b8fe22491be7b1b4bd3868f
/usr/lib64/libHSIfElse-0.85-9Fu7OoKO1NrK1370NmZgJI-ghc8.10.5.so
/usr/share/licenses/ghc-IfElse
/usr/share/licenses/ghc-IfElse/LICENSE

References

Summary

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