How To Install ghc-libxml-sax on Fedora 36

In this tutorial we learn how to install ghc-libxml-sax in Fedora 36. ghc-libxml-sax is Haskell bindings for the libxml2 SAX interface

Introduction

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

What is ghc-libxml-sax

Bindings for the libXML2 SAX interface.

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

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

sudo dnf -y install ghc-libxml-sax

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

sudo yum -y install ghc-libxml-sax

How To Uninstall ghc-libxml-sax on Fedora 36

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

sudo dnf remove ghc-libxml-sax

ghc-libxml-sax Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/2ce7ee2465a15d7c90cd9efc70df1cfd8efe70
/usr/lib64/libHSlibxml-sax-0.7.5-Adnk2HGxBZb7vhswtX5ift-ghc8.10.5.so
/usr/share/licenses/ghc-libxml-sax
/usr/share/licenses/ghc-libxml-sax/license.txt

References

Summary

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