How To Install ghc-binary-orphans on Fedora 36

In this tutorial we learn how to install ghc-binary-orphans in Fedora 36. ghc-binary-orphans is Haskell binary-orphans library

Introduction

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

What is ghc-binary-orphans

This package provides the Haskell binary-orphans library.

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

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

sudo dnf -y install ghc-binary-orphans

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

sudo yum -y install ghc-binary-orphans

How To Uninstall ghc-binary-orphans on Fedora 36

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

sudo dnf remove ghc-binary-orphans

ghc-binary-orphans Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/283f8f4a83afe33b00101e79a37d6844fb4284
/usr/lib64/libHSbinary-orphans-1.0.1-7V0pYT6CD04J7X2AvvHwQ-ghc8.10.5.so
/usr/share/licenses/ghc-binary-orphans
/usr/share/licenses/ghc-binary-orphans/LICENSE

References

Summary

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