How To Install ghc-IfElse-devel on Fedora 36

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

Introduction

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

What is ghc-IfElse-devel

This package provides the Haskell IfElse library development files.

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

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

sudo dnf -y install ghc-IfElse-devel

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

sudo yum -y install ghc-IfElse-devel

How To Uninstall ghc-IfElse-devel on Fedora 36

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

sudo dnf remove ghc-IfElse-devel

ghc-IfElse-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/IfElse-0.85
/usr/lib64/ghc-8.10.5/IfElse-0.85/Control
/usr/lib64/ghc-8.10.5/IfElse-0.85/Control/Monad
/usr/lib64/ghc-8.10.5/IfElse-0.85/Control/Monad/IfElse.dyn_hi
/usr/lib64/ghc-8.10.5/IfElse-0.85/Control/Monad/IfElse.hi
/usr/lib64/ghc-8.10.5/IfElse-0.85/libHSIfElse-0.85-9Fu7OoKO1NrK1370NmZgJI.a
/usr/lib64/ghc-8.10.5/package.conf.d/IfElse-0.85.conf

References

Summary

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