How To Install ghc-rio-prettyprint-prof on Fedora 36

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

Introduction

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

What is ghc-rio-prettyprint-prof

This package provides the Haskell rio-prettyprint profiling library.

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

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

sudo dnf -y install ghc-rio-prettyprint-prof

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

sudo yum -y install ghc-rio-prettyprint-prof

How To Uninstall ghc-rio-prettyprint-prof on Fedora 36

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

sudo dnf remove ghc-rio-prettyprint-prof

ghc-rio-prettyprint-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/rio-prettyprint-0.1.1.0/Paths_rio_prettyprint.p_hi
/usr/lib64/ghc-8.10.5/rio-prettyprint-0.1.1.0/RIO/PrettyPrint.p_hi
/usr/lib64/ghc-8.10.5/rio-prettyprint-0.1.1.0/RIO/PrettyPrint/DefaultStyles.p_hi
/usr/lib64/ghc-8.10.5/rio-prettyprint-0.1.1.0/RIO/PrettyPrint/StylesUpdate.p_hi
/usr/lib64/ghc-8.10.5/rio-prettyprint-0.1.1.0/RIO/PrettyPrint/Types.p_hi
/usr/lib64/ghc-8.10.5/rio-prettyprint-0.1.1.0/Text/PrettyPrint/Leijen/Extended.p_hi
/usr/lib64/ghc-8.10.5/rio-prettyprint-0.1.1.0/libHSrio-prettyprint-0.1.1.0-u4VJuTynENIg4LdtaaP26_p.a

References

Summary

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