How To Install ghc-pretty-simple-prof on Fedora 36

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

Introduction

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

What is ghc-pretty-simple-prof

This package provides the Haskell pretty-simple profiling library.

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

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

sudo dnf -y install ghc-pretty-simple-prof

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

sudo yum -y install ghc-pretty-simple-prof

How To Uninstall ghc-pretty-simple-prof on Fedora 36

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

sudo dnf remove ghc-pretty-simple-prof

ghc-pretty-simple-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/pretty-simple-4.0.0.0/Debug/Pretty/Simple.p_hi
/usr/lib64/ghc-8.10.5/pretty-simple-4.0.0.0/Text/Pretty/Simple.p_hi
/usr/lib64/ghc-8.10.5/pretty-simple-4.0.0.0/Text/Pretty/Simple/Internal.p_hi
/usr/lib64/ghc-8.10.5/pretty-simple-4.0.0.0/Text/Pretty/Simple/Internal/Color.p_hi
/usr/lib64/ghc-8.10.5/pretty-simple-4.0.0.0/Text/Pretty/Simple/Internal/Expr.p_hi
/usr/lib64/ghc-8.10.5/pretty-simple-4.0.0.0/Text/Pretty/Simple/Internal/ExprParser.p_hi
/usr/lib64/ghc-8.10.5/pretty-simple-4.0.0.0/Text/Pretty/Simple/Internal/Printer.p_hi
/usr/lib64/ghc-8.10.5/pretty-simple-4.0.0.0/libHSpretty-simple-4.0.0.0-KuCEclF2YOyAHwdPhjBzA8_p.a

References

Summary

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