How To Install ghc-hslogger-prof on Fedora 36

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

Introduction

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

What is ghc-hslogger-prof

This package provides the Haskell hslogger profiling library.

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

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

sudo dnf -y install ghc-hslogger-prof

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

sudo yum -y install ghc-hslogger-prof

How To Uninstall ghc-hslogger-prof on Fedora 36

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

sudo dnf remove ghc-hslogger-prof

ghc-hslogger-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/hslogger-1.3.1.0/System/Log.p_hi
/usr/lib64/ghc-8.10.5/hslogger-1.3.1.0/System/Log/Formatter.p_hi
/usr/lib64/ghc-8.10.5/hslogger-1.3.1.0/System/Log/Handler.p_hi
/usr/lib64/ghc-8.10.5/hslogger-1.3.1.0/System/Log/Handler/Growl.p_hi
/usr/lib64/ghc-8.10.5/hslogger-1.3.1.0/System/Log/Handler/Log4jXML.p_hi
/usr/lib64/ghc-8.10.5/hslogger-1.3.1.0/System/Log/Handler/Simple.p_hi
/usr/lib64/ghc-8.10.5/hslogger-1.3.1.0/System/Log/Handler/Syslog.p_hi
/usr/lib64/ghc-8.10.5/hslogger-1.3.1.0/System/Log/Logger.p_hi
/usr/lib64/ghc-8.10.5/hslogger-1.3.1.0/UTF8.p_hi
/usr/lib64/ghc-8.10.5/hslogger-1.3.1.0/libHShslogger-1.3.1.0-8tuGhAvJb7h803XfYVlCZy_p.a

References

Summary

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