How To Install ghc-dns-prof on Fedora 36

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

Introduction

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

What is ghc-dns-prof

This package provides the Haskell dns profiling library.

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

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

sudo dnf -y install ghc-dns-prof

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

sudo yum -y install ghc-dns-prof

How To Uninstall ghc-dns-prof on Fedora 36

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

sudo dnf remove ghc-dns-prof

ghc-dns-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Base32Hex.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Decode.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Decode/Internal.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Decode/Parsers.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Encode.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Encode/Builders.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Encode/Internal.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/IO.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Imports.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Lookup.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/LookupRaw.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Memo.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Resolver.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Resolver/Internal.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/StateBinary.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Transport.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Types.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Types/Internal.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Types/Resolver.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/Network/DNS/Utils.p_hi
/usr/lib64/ghc-8.10.5/dns-4.0.1/libHSdns-4.0.1-83KwQ9aaPub4HKH7HR2NQ1_p.a
/usr/lib64/ghc-8.10.5/dns-4.0.1/libHSdns-4.0.1-HjHbeyCDBl35YUv5aCBdy-dns-internal_p.a

References

Summary

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