How To Install ghc-servant on Fedora 36

In this tutorial we learn how to install ghc-servant in Fedora 36. ghc-servant is A family of combinators for defining webservices APIs

Introduction

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

What is ghc-servant

A family of combinators for defining webservices APIs and serving them You can learn about the basics in the <http .

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

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

sudo dnf -y install ghc-servant

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

sudo yum -y install ghc-servant

How To Uninstall ghc-servant on Fedora 36

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

sudo dnf remove ghc-servant

ghc-servant Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/6e5965e26f81faf07f13a40f7c1532c151db1d
/usr/lib64/libHSservant-0.18.3-JlQvOUXjN5hAJqgIpThuCa-ghc8.10.5.so
/usr/share/licenses/ghc-servant
/usr/share/licenses/ghc-servant/LICENSE

References

Summary

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