How To Install ghc-prettyprinter-devel on Fedora 36

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

Introduction

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

What is ghc-prettyprinter-devel

This package provides the Haskell prettyprinter library development files.

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

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

sudo dnf -y install ghc-prettyprinter-devel

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

sudo yum -y install ghc-prettyprinter-devel

How To Uninstall ghc-prettyprinter-devel on Fedora 36

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

sudo dnf remove ghc-prettyprinter-devel

ghc-prettyprinter-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/prettyprinter-1.7.0.conf
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Internal
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Internal.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Internal.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Internal/Debug.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Internal/Debug.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Internal/Type.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Internal/Type.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/String.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/String.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Text.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Text.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Tutorials
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Tutorials/StackMachineTutorial.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Tutorials/StackMachineTutorial.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Tutorials/TreeRenderingTutorial.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Tutorials/TreeRenderingTutorial.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Util
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Util/Panic.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Util/Panic.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Util/SimpleDocTree.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Util/SimpleDocTree.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Util/StackMachine.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Render/Util/StackMachine.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Symbols
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Symbols/Ascii.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Symbols/Ascii.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Symbols/Unicode.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Symbols/Unicode.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Util.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Data/Text/Prettyprint/Doc/Util.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Internal
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Internal.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Internal.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Internal/Debug.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Internal/Debug.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Internal/Type.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Internal/Type.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/String.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/String.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Text.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Text.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Tutorials
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Tutorials/StackMachineTutorial.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Tutorials/StackMachineTutorial.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Tutorials/TreeRenderingTutorial.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Tutorials/TreeRenderingTutorial.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Util
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Util/Panic.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Util/Panic.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Util/SimpleDocTree.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Util/SimpleDocTree.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Util/StackMachine.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Render/Util/StackMachine.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Symbols
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Symbols/Ascii.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Symbols/Ascii.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Symbols/Unicode.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Symbols/Unicode.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Util.dyn_hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/Prettyprinter/Util.hi
/usr/lib64/ghc-8.10.5/prettyprinter-1.7.0/libHSprettyprinter-1.7.0-BdKWugZ2Ac7eKNHX1ie7b.a
/usr/share/doc/ghc-prettyprinter-devel
/usr/share/doc/ghc-prettyprinter-devel/CHANGELOG.md
/usr/share/doc/ghc-prettyprinter-devel/README.md

References

Summary

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