How To Install ghc-hostname-devel on Fedora 36

In this tutorial we learn how to install ghc-hostname-devel in Fedora 36. ghc-hostname-devel is Haskell hostname library development files

Introduction

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

What is ghc-hostname-devel

This package provides the Haskell hostname library development files.

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

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

sudo dnf -y install ghc-hostname-devel

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

sudo yum -y install ghc-hostname-devel

How To Uninstall ghc-hostname-devel on Fedora 36

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

sudo dnf remove ghc-hostname-devel

ghc-hostname-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/hostname-1.0
/usr/lib64/ghc-8.10.5/hostname-1.0/Network
/usr/lib64/ghc-8.10.5/hostname-1.0/Network/HostName.dyn_hi
/usr/lib64/ghc-8.10.5/hostname-1.0/Network/HostName.hi
/usr/lib64/ghc-8.10.5/hostname-1.0/libHShostname-1.0-B6rimLIP2kIHedZYMVt5f8.a
/usr/lib64/ghc-8.10.5/package.conf.d/hostname-1.0.conf

References

Summary

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