How To Install ghc-base-orphans on Fedora 36

In this tutorial we learn how to install ghc-base-orphans in Fedora 36. ghc-base-orphans is Backwards-compatible orphan instances for base

Introduction

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

What is ghc-base-orphans

‘base-orphans’ defines orphan instances that mimic instances available in later covered> section. See the README for what instances are covered

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

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

sudo dnf -y install ghc-base-orphans

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

sudo yum -y install ghc-base-orphans

How To Uninstall ghc-base-orphans on Fedora 36

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

sudo dnf remove ghc-base-orphans

ghc-base-orphans Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/98
/usr/lib/.build-id/98/7499c9ba1f9509f041b9cf3528322fdaaec147
/usr/lib64/libHSbase-orphans-0.8.4-B4zsXTdczgN9mmNUwgnmE3-ghc8.10.5.so
/usr/share/licenses/ghc-base-orphans
/usr/share/licenses/ghc-base-orphans/LICENSE

References

Summary

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