How To Install ghc-xml-types on Fedora 36

In this tutorial we learn how to install ghc-xml-types in Fedora 36. ghc-xml-types is Basic types for representing XML

Introduction

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

What is ghc-xml-types

Basic types for representing XML. The idea is to have a full set of appropriate types, which various XML libraries can share. Instead of having equivalent-but-incompatible types for every binding, parser, or client, they all share the same types can can thus interoperate easily. This library contains complete types for most parts of an XML document, including the prologue, node tree, and doctype. Some basic combinators are included for common tasks, including traversing the node tree and filtering children.

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

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

sudo dnf -y install ghc-xml-types

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

sudo yum -y install ghc-xml-types

How To Uninstall ghc-xml-types on Fedora 36

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

sudo dnf remove ghc-xml-types

ghc-xml-types Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/93cea460cf086160f708b6924611ce51753710
/usr/lib64/libHSxml-types-0.3.8-Gz3On8Uo3JN2rSYUSThjSo-ghc8.10.5.so
/usr/share/licenses/ghc-xml-types
/usr/share/licenses/ghc-xml-types/COPYING

References

Summary

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