How To Install ghc-ghc-heap on Fedora 36

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

Introduction

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

What is ghc-ghc-heap

This package provides the Haskell ghc-heap library.

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

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

sudo dnf -y install ghc-ghc-heap

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

sudo yum -y install ghc-ghc-heap

How To Uninstall ghc-ghc-heap on Fedora 36

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

sudo dnf remove ghc-ghc-heap

ghc-ghc-heap Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/a8d4cdd13b1c1477624fa4be8e298fd2f6d167
/usr/lib64/libHSghc-heap-8.10.5-ghc8.10.5.so
/usr/share/licenses/ghc-ghc-heap
/usr/share/licenses/ghc-ghc-heap/LICENSE

References

Summary

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