How To Install ghc-prettyprinter on Fedora 36
Introduction
In this tutorial we learn how to install ghc-prettyprinter
on Fedora 36.
What is ghc-prettyprinter
A modern, easy to use, well-documented, extensible pretty-printer.
We can use yum
or dnf
to install ghc-prettyprinter
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-prettyprinter.
Install ghc-prettyprinter 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-prettyprinter
using dnf
by running the following command:
sudo dnf -y install ghc-prettyprinter
Install ghc-prettyprinter 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-prettyprinter
using yum
by running the following command:
sudo yum -y install ghc-prettyprinter
How To Uninstall ghc-prettyprinter on Fedora 36
To uninstall only the ghc-prettyprinter
package we can use the following command:
sudo dnf remove ghc-prettyprinter
ghc-prettyprinter Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/2453140ae15efdc2bfad091a75a5c7f1ca400d
/usr/lib64/libHSprettyprinter-1.7.0-BdKWugZ2Ac7eKNHX1ie7b-ghc8.10.5.so
/usr/share/licenses/ghc-prettyprinter
/usr/share/licenses/ghc-prettyprinter/LICENSE.md
References
Summary
In this tutorial we learn how to install ghc-prettyprinter
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).