How To Install ghc-exceptions-devel on Fedora 36

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

Introduction

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

What is ghc-exceptions-devel

This package provides the Haskell exceptions library development files.

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

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

sudo dnf -y install ghc-exceptions-devel

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

sudo yum -y install ghc-exceptions-devel

How To Uninstall ghc-exceptions-devel on Fedora 36

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

sudo dnf remove ghc-exceptions-devel

ghc-exceptions-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/exceptions-0.10.4
/usr/lib64/ghc-8.10.5/exceptions-0.10.4/Control
/usr/lib64/ghc-8.10.5/exceptions-0.10.4/Control/Monad
/usr/lib64/ghc-8.10.5/exceptions-0.10.4/Control/Monad/Catch
/usr/lib64/ghc-8.10.5/exceptions-0.10.4/Control/Monad/Catch.dyn_hi
/usr/lib64/ghc-8.10.5/exceptions-0.10.4/Control/Monad/Catch.hi
/usr/lib64/ghc-8.10.5/exceptions-0.10.4/Control/Monad/Catch/Pure.dyn_hi
/usr/lib64/ghc-8.10.5/exceptions-0.10.4/Control/Monad/Catch/Pure.hi
/usr/lib64/ghc-8.10.5/exceptions-0.10.4/HSexceptions-0.10.4.o
/usr/lib64/ghc-8.10.5/exceptions-0.10.4/HSexceptions-0.10.4.p_o
/usr/lib64/ghc-8.10.5/exceptions-0.10.4/libHSexceptions-0.10.4.a
/usr/lib64/ghc-8.10.5/package.conf.d/exceptions-0.10.4.conf

References

Summary

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