How To Install ghc-pretty-devel on Fedora 36

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

Introduction

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

What is ghc-pretty-devel

This package provides the Haskell pretty library development files.

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

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

sudo dnf -y install ghc-pretty-devel

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

sudo yum -y install ghc-pretty-devel

How To Uninstall ghc-pretty-devel on Fedora 36

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

sudo dnf remove ghc-pretty-devel

ghc-pretty-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/pretty-1.1.3.6.conf
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/HSpretty-1.1.3.6.o
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/HSpretty-1.1.3.6.p_o
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint.dyn_hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint.hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint/Annotated
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint/Annotated.dyn_hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint/Annotated.hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint/Annotated/HughesPJ.dyn_hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint/Annotated/HughesPJ.hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint/Annotated/HughesPJClass.dyn_hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint/Annotated/HughesPJClass.hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint/HughesPJ.dyn_hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint/HughesPJ.hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint/HughesPJClass.dyn_hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/Text/PrettyPrint/HughesPJClass.hi
/usr/lib64/ghc-8.10.5/pretty-1.1.3.6/libHSpretty-1.1.3.6.a

References

Summary

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