How To Install ghc-libffi on Fedora 36

In this tutorial we learn how to install ghc-libffi in Fedora 36. ghc-libffi is A binding to libffi

Introduction

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

What is ghc-libffi

A binding to libffi, allowing C functions of types only known at runtime to be called from Haskell.

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

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

sudo dnf -y install ghc-libffi

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

sudo yum -y install ghc-libffi

How To Uninstall ghc-libffi on Fedora 36

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

sudo dnf remove ghc-libffi

ghc-libffi Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/8f9d57d119720bb62402f8d036bf20e65a9d4c
/usr/lib64/libHSlibffi-0.1-8U8n8AdfLs66HXhD0Pbsc9-ghc8.10.5.so
/usr/share/licenses/ghc-libffi
/usr/share/licenses/ghc-libffi/LICENSE

References

Summary

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