How To Install ghc-snap-server-prof on Fedora 36

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

Introduction

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

What is ghc-snap-server-prof

This package provides the Haskell snap-server profiling library.

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

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

sudo dnf -y install ghc-snap-server-prof

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

sudo yum -y install ghc-snap-server-prof

How To Uninstall ghc-snap-server-prof on Fedora 36

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

sudo dnf remove ghc-snap-server-prof

ghc-snap-server-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Control/Concurrent/Extended.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Paths_snap_server.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Http/Server.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Http/Server/Config.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Http/Server/Types.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/Address.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/Clock.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/Common.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/Config.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/Date.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/Parser.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/Session.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/Socket.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/TLS.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/Thread.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/TimeoutManager.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/Snap/Internal/Http/Server/Types.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/System/FastLogger.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/System/SendFile.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/System/SendFile/Linux.p_hi
/usr/lib64/ghc-8.10.5/snap-server-1.1.2.0/libHSsnap-server-1.1.2.0-D5gkT3pSspyFes2i3tUSYJ_p.a

References

Summary

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