How To Install ghc-pretty-hex-devel on Fedora 36

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

Introduction

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

What is ghc-pretty-hex-devel

This package provides the Haskell pretty-hex library development files.

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

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

sudo dnf -y install ghc-pretty-hex-devel

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

sudo yum -y install ghc-pretty-hex-devel

How To Uninstall ghc-pretty-hex-devel on Fedora 36

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

sudo dnf remove ghc-pretty-hex-devel

ghc-pretty-hex-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/pretty-hex-1.1.conf
/usr/lib64/ghc-8.10.5/pretty-hex-1.1
/usr/lib64/ghc-8.10.5/pretty-hex-1.1/Hexdump.dyn_hi
/usr/lib64/ghc-8.10.5/pretty-hex-1.1/Hexdump.hi
/usr/lib64/ghc-8.10.5/pretty-hex-1.1/libHSpretty-hex-1.1-2i4ClvFN4Y7LxbHQYNmVC0.a

References

Summary

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