How To Install ghc-html-conduit on Fedora 36

In this tutorial we learn how to install ghc-html-conduit in Fedora 36. ghc-html-conduit is Parse HTML documents using xml-conduit datatypes

Introduction

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

What is ghc-html-conduit

This package uses tagstream-conduit for its parser. It automatically balances mismatched tags, so that there shouldn’t be any parse failures. It does not handle a full HTML document rendering, such as adding missing html and head tags. Note that, since version 1.3.1, it uses an inlined copy of tagstream-conduit with entity decoding bugfixes applied.

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

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

sudo dnf -y install ghc-html-conduit

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

sudo yum -y install ghc-html-conduit

How To Uninstall ghc-html-conduit on Fedora 36

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

sudo dnf remove ghc-html-conduit

ghc-html-conduit Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/f06a22ea47dd7da66b747fdf699b6d4cbd24f4
/usr/lib64/libHShtml-conduit-1.3.2.1-LRmwxehOdPd5d62vG5jp0P-ghc8.10.5.so
/usr/share/licenses/ghc-html-conduit
/usr/share/licenses/ghc-html-conduit/LICENSE
/usr/share/licenses/ghc-html-conduit/LICENSE-tagstream-conduit

References

Summary

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