How To Install ghc-unliftio on Fedora 36

In this tutorial we learn how to install ghc-unliftio in Fedora 36. ghc-unliftio is The MonadUnliftIO typeclass for unlifting monads to IO (batteries included)

Introduction

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

What is ghc-unliftio

Provides the core MonadUnliftIO typeclass, a number of common instances, and a collection of common functions working with it.

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

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

sudo dnf -y install ghc-unliftio

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

sudo yum -y install ghc-unliftio

How To Uninstall ghc-unliftio on Fedora 36

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

sudo dnf remove ghc-unliftio

ghc-unliftio Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/82a135cc06a7f92c3f2b8236d809b5ea3bddb2
/usr/lib64/libHSunliftio-0.2.19-J8qwsJftKEIAsIzJnd9yD5-ghc8.10.5.so
/usr/share/licenses/ghc-unliftio
/usr/share/licenses/ghc-unliftio/LICENSE

References

Summary

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