How To Install ghc-dns on Fedora 36

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

Introduction

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

What is ghc-dns

A thread-safe DNS library for both clients and servers written in pure Haskell.

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

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

sudo dnf -y install ghc-dns

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

sudo yum -y install ghc-dns

How To Uninstall ghc-dns on Fedora 36

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

sudo dnf remove ghc-dns

ghc-dns Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/a831ff13e31b716fdd4665cd2926ab4eba14fb
/usr/lib/.build-id/59
/usr/lib/.build-id/59/6fca57cb9866b0384f5866c1726980cd0f3c65
/usr/lib64/libHSdns-4.0.1-83KwQ9aaPub4HKH7HR2NQ1-ghc8.10.5.so
/usr/lib64/libHSdns-4.0.1-HjHbeyCDBl35YUv5aCBdy-dns-internal-ghc8.10.5.so
/usr/share/licenses/ghc-dns
/usr/share/licenses/ghc-dns/LICENSE

References

Summary

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