How To Install ghc-IOSpec on Fedora 36

In this tutorial we learn how to install ghc-IOSpec in Fedora 36. ghc-IOSpec is A pure specification of the IO monad

Introduction

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

What is ghc-IOSpec

This package consists of several modules, that give a pure specification of functions in the IO monad.

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

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

sudo dnf -y install ghc-IOSpec

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

sudo yum -y install ghc-IOSpec

How To Uninstall ghc-IOSpec on Fedora 36

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

sudo dnf remove ghc-IOSpec

ghc-IOSpec Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/a0205cbf8e04335dff315b76c18f258f84c689
/usr/lib64/libHSIOSpec-0.3.1.1-IyTB945ZyzYJoqSffpiw6H-ghc8.10.5.so
/usr/share/licenses/ghc-IOSpec
/usr/share/licenses/ghc-IOSpec/LICENSE

References

Summary

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