How To Install ghc-text-metrics on Fedora 36

In this tutorial we learn how to install ghc-text-metrics in Fedora 36. ghc-text-metrics is Calculate various string metrics efficiently

Introduction

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

What is ghc-text-metrics

Calculate various string metrics efficiently.

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

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

sudo dnf -y install ghc-text-metrics

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

sudo yum -y install ghc-text-metrics

How To Uninstall ghc-text-metrics on Fedora 36

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

sudo dnf remove ghc-text-metrics

ghc-text-metrics Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/4329965623cd44ff27e87b0b275df575d9d747
/usr/lib64/libHStext-metrics-0.3.0-F6kyJ7cZsSgGcvpOziQ5qF-ghc8.10.5.so
/usr/share/licenses/ghc-text-metrics
/usr/share/licenses/ghc-text-metrics/LICENSE.md

References

Summary

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