How To Install ghc-servant-foreign-devel on Fedora 36

In this tutorial we learn how to install ghc-servant-foreign-devel in Fedora 36. ghc-servant-foreign-devel is Haskell servant-foreign library development files

Introduction

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

What is ghc-servant-foreign-devel

This package provides the Haskell servant-foreign library development files.

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

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

sudo dnf -y install ghc-servant-foreign-devel

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

sudo yum -y install ghc-servant-foreign-devel

How To Uninstall ghc-servant-foreign-devel on Fedora 36

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

sudo dnf remove ghc-servant-foreign-devel

ghc-servant-foreign-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/servant-foreign-0.15.4.conf
/usr/lib64/ghc-8.10.5/servant-foreign-0.15.4
/usr/lib64/ghc-8.10.5/servant-foreign-0.15.4/Servant
/usr/lib64/ghc-8.10.5/servant-foreign-0.15.4/Servant/Foreign
/usr/lib64/ghc-8.10.5/servant-foreign-0.15.4/Servant/Foreign.dyn_hi
/usr/lib64/ghc-8.10.5/servant-foreign-0.15.4/Servant/Foreign.hi
/usr/lib64/ghc-8.10.5/servant-foreign-0.15.4/Servant/Foreign/Inflections.dyn_hi
/usr/lib64/ghc-8.10.5/servant-foreign-0.15.4/Servant/Foreign/Inflections.hi
/usr/lib64/ghc-8.10.5/servant-foreign-0.15.4/Servant/Foreign/Internal.dyn_hi
/usr/lib64/ghc-8.10.5/servant-foreign-0.15.4/Servant/Foreign/Internal.hi
/usr/lib64/ghc-8.10.5/servant-foreign-0.15.4/libHSservant-foreign-0.15.4-3yI1PY3i3TOtBstvzxpbT.a
/usr/share/doc/ghc-servant-foreign-devel
/usr/share/doc/ghc-servant-foreign-devel/CHANGELOG.md
/usr/share/doc/ghc-servant-foreign-devel/README.md

References

Summary

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