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

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

Introduction

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

What is ghc-pretty-terminal-devel

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

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

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

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

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

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

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

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

sudo dnf remove ghc-pretty-terminal-devel

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

/usr/lib64/ghc-8.10.5/package.conf.d/pretty-terminal-0.1.0.0.conf
/usr/lib64/ghc-8.10.5/pretty-terminal-0.1.0.0
/usr/lib64/ghc-8.10.5/pretty-terminal-0.1.0.0/Paths_pretty_terminal.dyn_hi
/usr/lib64/ghc-8.10.5/pretty-terminal-0.1.0.0/Paths_pretty_terminal.hi
/usr/lib64/ghc-8.10.5/pretty-terminal-0.1.0.0/System
/usr/lib64/ghc-8.10.5/pretty-terminal-0.1.0.0/System/Console
/usr/lib64/ghc-8.10.5/pretty-terminal-0.1.0.0/System/Console/Pretty.dyn_hi
/usr/lib64/ghc-8.10.5/pretty-terminal-0.1.0.0/System/Console/Pretty.hi
/usr/lib64/ghc-8.10.5/pretty-terminal-0.1.0.0/libHSpretty-terminal-0.1.0.0-LYUStGoNxIUBA4xGFdnoO7.a
/usr/share/doc/ghc-pretty-terminal-devel
/usr/share/doc/ghc-pretty-terminal-devel/ChangeLog.md
/usr/share/doc/ghc-pretty-terminal-devel/README.md
/usr/share/doc/ghc-pretty-terminal-devel/examples
/usr/share/doc/ghc-pretty-terminal-devel/examples/Main.hs

References

Summary

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