How To Install ghc-hostname-doc on Fedora 36

In this tutorial we learn how to install ghc-hostname-doc in Fedora 36. ghc-hostname-doc is Haskell hostname library documentation

Introduction

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

What is ghc-hostname-doc

This package provides the Haskell hostname library documentation.

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

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

sudo dnf -y install ghc-hostname-doc

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

sudo yum -y install ghc-hostname-doc

How To Uninstall ghc-hostname-doc on Fedora 36

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

sudo dnf remove ghc-hostname-doc

ghc-hostname-doc Package Contents on Fedora 36

/usr/share/doc/ghc/html/libraries/hostname-1.0
/usr/share/doc/ghc/html/libraries/hostname-1.0/Network-HostName.html
/usr/share/doc/ghc/html/libraries/hostname-1.0/doc-index.html
/usr/share/doc/ghc/html/libraries/hostname-1.0/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/hostname-1.0/hostname.haddock
/usr/share/doc/ghc/html/libraries/hostname-1.0/hostname.txt
/usr/share/doc/ghc/html/libraries/hostname-1.0/index.html
/usr/share/doc/ghc/html/libraries/hostname-1.0/linuwial.css
/usr/share/doc/ghc/html/libraries/hostname-1.0/meta.json
/usr/share/doc/ghc/html/libraries/hostname-1.0/quick-jump.css
/usr/share/doc/ghc/html/libraries/hostname-1.0/src
/usr/share/doc/ghc/html/libraries/hostname-1.0/src/Network.HostName.html
/usr/share/doc/ghc/html/libraries/hostname-1.0/src/highlight.js
/usr/share/doc/ghc/html/libraries/hostname-1.0/src/style.css
/usr/share/doc/ghc/html/libraries/hostname-1.0/synopsis.png
/usr/share/licenses/ghc-hostname-doc
/usr/share/licenses/ghc-hostname-doc/LICENSE

References

Summary

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