How To Install ghc-pkgtreediff on Fedora 36

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

Introduction

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

What is ghc-pkgtreediff

This package provides the Haskell pkgtreediff shared library.

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

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

sudo dnf -y install ghc-pkgtreediff

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

sudo yum -y install ghc-pkgtreediff

How To Uninstall ghc-pkgtreediff on Fedora 36

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

sudo dnf remove ghc-pkgtreediff

ghc-pkgtreediff Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/b5d5e5e3e854743e967177a2c3f61c86aa58ec
/usr/lib64/libHSpkgtreediff-0.5.0-IncEFxLq5Q11P4e7d3ee87-ghc8.10.5.so
/usr/share/licenses/ghc-pkgtreediff
/usr/share/licenses/ghc-pkgtreediff/LICENSE

References

Summary

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