How To Install ghc-pkgtreediff-devel on Fedora 36

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

Introduction

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

What is ghc-pkgtreediff-devel

This package provides the Haskell pkgtreediff library development files.

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

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

sudo dnf -y install ghc-pkgtreediff-devel

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

sudo yum -y install ghc-pkgtreediff-devel

How To Uninstall ghc-pkgtreediff-devel on Fedora 36

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

sudo dnf remove ghc-pkgtreediff-devel

ghc-pkgtreediff-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/pkgtreediff-0.5.0.conf
/usr/lib64/ghc-8.10.5/pkgtreediff-0.5.0
/usr/lib64/ghc-8.10.5/pkgtreediff-0.5.0/Distribution
/usr/lib64/ghc-8.10.5/pkgtreediff-0.5.0/Distribution/RPM
/usr/lib64/ghc-8.10.5/pkgtreediff-0.5.0/Distribution/RPM/PackageTreeDiff.dyn_hi
/usr/lib64/ghc-8.10.5/pkgtreediff-0.5.0/Distribution/RPM/PackageTreeDiff.hi
/usr/lib64/ghc-8.10.5/pkgtreediff-0.5.0/libHSpkgtreediff-0.5.0-IncEFxLq5Q11P4e7d3ee87.a
/usr/share/doc/ghc-pkgtreediff-devel
/usr/share/doc/ghc-pkgtreediff-devel/CHANGELOG.md
/usr/share/doc/ghc-pkgtreediff-devel/README.md
/usr/share/doc/ghc-pkgtreediff-devel/TODO

References

Summary

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