How To Install ghc-rio-prettyprint on Fedora 36

In this tutorial we learn how to install ghc-rio-prettyprint in Fedora 36. ghc-rio-prettyprint is Pretty-printing for RIO

Introduction

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

What is ghc-rio-prettyprint

Combine RIO’s log capabilities with pretty printing.

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

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

sudo dnf -y install ghc-rio-prettyprint

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

sudo yum -y install ghc-rio-prettyprint

How To Uninstall ghc-rio-prettyprint on Fedora 36

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

sudo dnf remove ghc-rio-prettyprint

ghc-rio-prettyprint Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/4a023677ccf57f276c4ad17aaa1e822993ef67
/usr/lib64/libHSrio-prettyprint-0.1.1.0-u4VJuTynENIg4LdtaaP26-ghc8.10.5.so
/usr/share/licenses/ghc-rio-prettyprint
/usr/share/licenses/ghc-rio-prettyprint/LICENSE

References

Summary

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