How To Install ghc-unliftio-core on Fedora 36

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

Introduction

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

What is ghc-unliftio-core

Provides the core MonadUnliftIO typeclass, instances for base and transformers, and basic utility functions.

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

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

sudo dnf -y install ghc-unliftio-core

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

sudo yum -y install ghc-unliftio-core

How To Uninstall ghc-unliftio-core on Fedora 36

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

sudo dnf remove ghc-unliftio-core

ghc-unliftio-core Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/36517d8acf1ccf1c582cb4ac4acea484b0feab
/usr/lib64/libHSunliftio-core-0.2.0.1-1ibY1oF6Hkc5ZYjZ4yW3Lp-ghc8.10.5.so
/usr/share/licenses/ghc-unliftio-core
/usr/share/licenses/ghc-unliftio-core/LICENSE

References

Summary

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