How To Install ghc-heaps on Fedora 36

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

Introduction

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

What is ghc-heaps

This package provides the Haskell heaps library.

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

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

sudo dnf -y install ghc-heaps

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

sudo yum -y install ghc-heaps

How To Uninstall ghc-heaps on Fedora 36

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

sudo dnf remove ghc-heaps

ghc-heaps Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/226ae8f58a0a31921330d53837c46f303d517a
/usr/lib64/libHSheaps-0.4-8O0EXzXBd0u214X4NFU9VO-ghc8.10.5.so
/usr/share/licenses/ghc-heaps
/usr/share/licenses/ghc-heaps/LICENSE

References

Summary

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