How To Install ghc-prettyprinter-prof on Fedora 36

In this tutorial we learn how to install ghc-prettyprinter-prof in Fedora 36. ghc-prettyprinter-prof is Haskell prettyprinter profiling library

Introduction

In this tutorial we learn how to install ghc-prettyprinter-prof on Fedora 36.

What is ghc-prettyprinter-prof

This package provides the Haskell prettyprinter profiling library.

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

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

sudo dnf -y install ghc-prettyprinter-prof

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

sudo yum -y install ghc-prettyprinter-prof

How To Uninstall ghc-prettyprinter-prof on Fedora 36

To uninstall only the ghc-prettyprinter-prof package we can use the following command:

sudo dnf remove ghc-prettyprinter-prof

ghc-prettyprinter-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Internal.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Internal/Debug.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Internal/Type.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/String.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Text.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Tutorials/StackMachineTutorial.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Tutorials/TreeRenderingTutorial.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Util/Panic.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Util/SimpleDocTree.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Util/StackMachine.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Symbols/Ascii.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Symbols/Unicode.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Util.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Internal.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Internal/Debug.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Internal/Type.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/String.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Text.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Tutorials/StackMachineTutorial.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Tutorials/TreeRenderingTutorial.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Util/Panic.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Util/SimpleDocTree.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Util/StackMachine.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Symbols/Ascii.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Symbols/Unicode.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Util.p_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/libHSprettyprinter-1.7.0-BdKWugZ2Ac7eKNHX1ie7b_p.a

References

Summary

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