How To Install ghc-githash on Fedora 36

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

Introduction

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

What is ghc-githash

This package provides the Haskell githash library.

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

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

sudo dnf -y install ghc-githash

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

sudo yum -y install ghc-githash

How To Uninstall ghc-githash on Fedora 36

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

sudo dnf remove ghc-githash

ghc-githash Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/df
/usr/lib/.build-id/df/872f8a69911351c7f766dc980c706b2e8ba645
/usr/lib64/libHSgithash-0.1.6.1-3uRlDQiyAsFAv3OookYAEx-ghc8.10.5.so
/usr/share/licenses/ghc-githash
/usr/share/licenses/ghc-githash/LICENSE

References

Summary

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