How To Install ghc-html on Fedora 36

In this tutorial we learn how to install ghc-html in Fedora 36. ghc-html is HTML combinator library

Introduction

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

What is ghc-html

This package contains a combinator library for constructing HTML documents.

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

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

sudo dnf -y install ghc-html

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

sudo yum -y install ghc-html

How To Uninstall ghc-html on Fedora 36

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

sudo dnf remove ghc-html

ghc-html Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/3e9c2eceb11a6c58f7f6c2fc6833806d6680b9
/usr/lib64/libHShtml-1.0.1.2-2kC611sx9612OIqMFS65XS-ghc8.10.5.so
/usr/share/licenses/ghc-html
/usr/share/licenses/ghc-html/LICENSE

References

Summary

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