How To Install ghc-enclosed-exceptions-devel on Fedora 36

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

Introduction

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

What is ghc-enclosed-exceptions-devel

This package provides the Haskell enclosed-exceptions library development files.

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

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

sudo dnf -y install ghc-enclosed-exceptions-devel

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

sudo yum -y install ghc-enclosed-exceptions-devel

How To Uninstall ghc-enclosed-exceptions-devel on Fedora 36

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

sudo dnf remove ghc-enclosed-exceptions-devel

ghc-enclosed-exceptions-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/enclosed-exceptions-1.0.3
/usr/lib64/ghc-8.10.5/enclosed-exceptions-1.0.3/Control
/usr/lib64/ghc-8.10.5/enclosed-exceptions-1.0.3/Control/Exception
/usr/lib64/ghc-8.10.5/enclosed-exceptions-1.0.3/Control/Exception/Enclosed.dyn_hi
/usr/lib64/ghc-8.10.5/enclosed-exceptions-1.0.3/Control/Exception/Enclosed.hi
/usr/lib64/ghc-8.10.5/enclosed-exceptions-1.0.3/libHSenclosed-exceptions-1.0.3-ABn0X80GXuEtrgwhdb5V6.a
/usr/lib64/ghc-8.10.5/package.conf.d/enclosed-exceptions-1.0.3.conf
/usr/share/doc/ghc-enclosed-exceptions-devel
/usr/share/doc/ghc-enclosed-exceptions-devel/ChangeLog.md
/usr/share/doc/ghc-enclosed-exceptions-devel/README.md

References

Summary

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