How To Install ghc-network-prof on Fedora 36

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

Introduction

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

What is ghc-network-prof

This package provides the Haskell network profiling library.

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

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

sudo dnf -y install ghc-network-prof

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

sudo yum -y install ghc-network-prof

How To Uninstall ghc-network-prof on Fedora 36

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

sudo dnf remove ghc-network-prof

ghc-network-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Address.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Buffer.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/ByteString.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/ByteString/IO.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/ByteString/IOVec.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/ByteString/Internal.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/ByteString/Lazy.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/ByteString/Lazy/Posix.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/ByteString/MsgHdr.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Cbits.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Fcntl.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Handle.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/If.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Imports.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Info.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Internal.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Name.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Options.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Shutdown.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/SockAddr.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Syscall.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Types.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/Network/Socket/Unix.p_hi
/usr/lib64/ghc-8.10.5/network-3.1.1.1/libHSnetwork-3.1.1.1-3CpLEv3PTpkA7EVtKWaejV_p.a

References

Summary

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