How To Install ghc-xml on Fedora 36

In this tutorial we learn how to install ghc-xml in Fedora 36. ghc-xml is A simple XML library

Introduction

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

What is ghc-xml

A simple XML library.

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

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

sudo dnf -y install ghc-xml

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

sudo yum -y install ghc-xml

How To Uninstall ghc-xml on Fedora 36

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

sudo dnf remove ghc-xml

ghc-xml Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/dd80e94631e49c95a2d380fb8f8c43053144f9
/usr/lib64/libHSxml-1.3.14-9Z9ZesgMbrVGnsSsWvOX4O-ghc8.10.5.so
/usr/share/licenses/ghc-xml
/usr/share/licenses/ghc-xml/LICENSE

References

Summary

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