How To Install ghc-wl-pprint-text on Fedora 36

In this tutorial we learn how to install ghc-wl-pprint-text in Fedora 36. ghc-wl-pprint-text is A Wadler/Leijen Pretty Printer for Text values

Introduction

In this tutorial we learn how to install ghc-wl-pprint-text on Fedora 36.

What is ghc-wl-pprint-text

A clone of wl-pprint for use with the text library.

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

Install ghc-wl-pprint-text 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-wl-pprint-text using dnf by running the following command:

sudo dnf -y install ghc-wl-pprint-text

Install ghc-wl-pprint-text 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-wl-pprint-text using yum by running the following command:

sudo yum -y install ghc-wl-pprint-text

How To Uninstall ghc-wl-pprint-text on Fedora 36

To uninstall only the ghc-wl-pprint-text package we can use the following command:

sudo dnf remove ghc-wl-pprint-text

ghc-wl-pprint-text Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/fe234821d12e045559b0a17538fab7f7b7a8c2
/usr/lib64/libHSwl-pprint-text-1.2.0.1-EluLDWNsmVp2uUAh1N4fAU-ghc8.10.5.so
/usr/share/licenses/ghc-wl-pprint-text
/usr/share/licenses/ghc-wl-pprint-text/LICENSE

References

Summary

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