How To Install ghc-servant-client on Fedora 36

In this tutorial we learn how to install ghc-servant-client in Fedora 36. ghc-servant-client is Automatic derivation of querying functions for servant

Introduction

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

What is ghc-servant-client

This library lets you derive automatically Haskell functions that let you query each endpoint of a <http webservice. See . .

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

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

sudo dnf -y install ghc-servant-client

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

sudo yum -y install ghc-servant-client

How To Uninstall ghc-servant-client on Fedora 36

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

sudo dnf remove ghc-servant-client

ghc-servant-client Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/80
/usr/lib/.build-id/80/2deeb212883fb3c697ae9d2102f500c0014d77
/usr/lib64/libHSservant-client-0.18.3-2QtSWyDv0hIGiGPpvYbnvG-ghc8.10.5.so
/usr/share/licenses/ghc-servant-client
/usr/share/licenses/ghc-servant-client/LICENSE

References

Summary

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