How To Install ghc-xml-conduit on Fedora 36

In this tutorial we learn how to install ghc-xml-conduit in Fedora 36. ghc-xml-conduit is XML parsing and rendering with conduit

Introduction

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

What is ghc-xml-conduit

This package provides parsing and rendering functions for XML. It is based on the datatypes found in the xml-types package. This package is broken up into the following modules * Text.XML This is the most commonly used module. * Text.XML.Cursor traversing of the DOM, similar to XPath. (Note is the same concept, but will work with any node representation.) * Text.XML.Unresolved require all entities to be resolved at parsing. The datatypes are slightly more complicated here, and therefore this module is only recommended when you need to deal directly with raw entities. * Text.XML.Stream.Parse parser combinators. * Text.XML.Stream.Render

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

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

sudo dnf -y install ghc-xml-conduit

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

sudo yum -y install ghc-xml-conduit

How To Uninstall ghc-xml-conduit on Fedora 36

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

sudo dnf remove ghc-xml-conduit

ghc-xml-conduit Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/15d8484dfc35bb61f4e96b0d1e3337b736315e
/usr/lib64/libHSxml-conduit-1.9.1.1-A78uykHLI284fXetQ6Mt5l-ghc8.10.5.so
/usr/share/licenses/ghc-xml-conduit
/usr/share/licenses/ghc-xml-conduit/LICENSE

References

Summary

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