How To Install ghc-rio-orphans on Fedora 36

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

Introduction

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

What is ghc-rio-orphans

This package provides the Haskell rio-orphans library.

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

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

sudo dnf -y install ghc-rio-orphans

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

sudo yum -y install ghc-rio-orphans

How To Uninstall ghc-rio-orphans on Fedora 36

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

sudo dnf remove ghc-rio-orphans

ghc-rio-orphans Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/609086cc123581e49aec7693d1c418a3e2546f
/usr/lib64/libHSrio-orphans-0.1.2.0-DksNziSPBuL4tVLHjGn8EB-ghc8.10.5.so
/usr/share/licenses/ghc-rio-orphans
/usr/share/licenses/ghc-rio-orphans/LICENSE

References

Summary

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