How To Install ghc-pantry on Fedora 36

In this tutorial we learn how to install ghc-pantry in Fedora 36. ghc-pantry is Haskell pantry library

Introduction

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

What is ghc-pantry

This package provides the Haskell pantry library.

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

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

sudo dnf -y install ghc-pantry

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

sudo yum -y install ghc-pantry

How To Uninstall ghc-pantry on Fedora 36

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

sudo dnf remove ghc-pantry

ghc-pantry Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/b45f6234f44635d6a92d10bc6f868ff5351789
/usr/lib64/libHSpantry-0.5.2.3-9wjQJjsc3mFALVrygdhRvq-ghc8.10.5.so
/usr/share/licenses/ghc-pantry
/usr/share/licenses/ghc-pantry/LICENSE

References

Summary

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