How To Install ghc-gitrev-devel on Fedora 36

In this tutorial we learn how to install ghc-gitrev-devel in Fedora 36. ghc-gitrev-devel is Haskell gitrev library development files

Introduction

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

What is ghc-gitrev-devel

This package provides the Haskell gitrev library development files.

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

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

sudo dnf -y install ghc-gitrev-devel

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

sudo yum -y install ghc-gitrev-devel

How To Uninstall ghc-gitrev-devel on Fedora 36

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

sudo dnf remove ghc-gitrev-devel

ghc-gitrev-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/gitrev-1.3.1
/usr/lib64/ghc-8.10.5/gitrev-1.3.1/Development
/usr/lib64/ghc-8.10.5/gitrev-1.3.1/Development/GitRev.dyn_hi
/usr/lib64/ghc-8.10.5/gitrev-1.3.1/Development/GitRev.hi
/usr/lib64/ghc-8.10.5/gitrev-1.3.1/libHSgitrev-1.3.1-IeAYO8QUG62LW4J3MUanQA.a
/usr/lib64/ghc-8.10.5/package.conf.d/gitrev-1.3.1.conf

References

Summary

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