How To Install ghc-haxr on Fedora 36

In this tutorial we learn how to install ghc-haxr in Fedora 36. ghc-haxr is XML-RPC client and server library

Introduction

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

What is ghc-haxr

HaXR is a library for writing XML-RPC client and server applications in Haskell.

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

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

sudo dnf -y install ghc-haxr

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

sudo yum -y install ghc-haxr

How To Uninstall ghc-haxr on Fedora 36

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

sudo dnf remove ghc-haxr

ghc-haxr Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/8aee9dfa691134c41b38114fb6d63e796c1016
/usr/lib64/libHShaxr-3000.11.4.1-JGiGiRrsCnJ8pdscQd3eOE-ghc8.10.5.so
/usr/share/licenses/ghc-haxr
/usr/share/licenses/ghc-haxr/LICENSE

References

Summary

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