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

In this tutorial we learn how to install ghc-wl-pprint-devel in Fedora 36. ghc-wl-pprint-devel is Haskell wl-pprint library development files

Introduction

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

What is ghc-wl-pprint-devel

This package provides the Haskell wl-pprint library development files.

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

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

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

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

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

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

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

sudo dnf remove ghc-wl-pprint-devel

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

/usr/lib64/ghc-8.10.5/package.conf.d/wl-pprint-1.2.1.conf
/usr/lib64/ghc-8.10.5/wl-pprint-1.2.1
/usr/lib64/ghc-8.10.5/wl-pprint-1.2.1/Text
/usr/lib64/ghc-8.10.5/wl-pprint-1.2.1/Text/PrettyPrint
/usr/lib64/ghc-8.10.5/wl-pprint-1.2.1/Text/PrettyPrint/Leijen.dyn_hi
/usr/lib64/ghc-8.10.5/wl-pprint-1.2.1/Text/PrettyPrint/Leijen.hi
/usr/lib64/ghc-8.10.5/wl-pprint-1.2.1/libHSwl-pprint-1.2.1-J3YGG4rSqC24znXvPeyyY9.a

References

Summary

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