How To Install ghc-ansi-wl-pprint on Fedora 36
Introduction
In this tutorial we learn how to install ghc-ansi-wl-pprint
on Fedora 36.
What is ghc-ansi-wl-pprint
This is a pretty printing library based on Wadler’s paper [“A Prettier Printer”](https It has been enhanced with support for ANSI terminal colored output using the [ansi-terminal](https
We can use yum
or dnf
to install ghc-ansi-wl-pprint
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-ansi-wl-pprint.
Install ghc-ansi-wl-pprint 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-ansi-wl-pprint
using dnf
by running the following command:
sudo dnf -y install ghc-ansi-wl-pprint
Install ghc-ansi-wl-pprint 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-ansi-wl-pprint
using yum
by running the following command:
sudo yum -y install ghc-ansi-wl-pprint
How To Uninstall ghc-ansi-wl-pprint on Fedora 36
To uninstall only the ghc-ansi-wl-pprint
package we can use the following command:
sudo dnf remove ghc-ansi-wl-pprint
ghc-ansi-wl-pprint Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/bd77e54a33dd60f88b2ced97d98758ccb5b371
/usr/lib64/libHSansi-wl-pprint-0.6.9-BhXLpnr9gIqFpfVfoCavjt-ghc8.10.5.so
/usr/share/licenses/ghc-ansi-wl-pprint
/usr/share/licenses/ghc-ansi-wl-pprint/LICENSE
References
Summary
In this tutorial we learn how to install ghc-ansi-wl-pprint
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).