How To Install ghc-text-metrics-devel on Fedora 36

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

Introduction

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

What is ghc-text-metrics-devel

This package provides the Haskell text-metrics library development files.

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

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

sudo dnf -y install ghc-text-metrics-devel

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

sudo yum -y install ghc-text-metrics-devel

How To Uninstall ghc-text-metrics-devel on Fedora 36

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

sudo dnf remove ghc-text-metrics-devel

ghc-text-metrics-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/text-metrics-0.3.0.conf
/usr/lib64/ghc-8.10.5/text-metrics-0.3.0
/usr/lib64/ghc-8.10.5/text-metrics-0.3.0/Data
/usr/lib64/ghc-8.10.5/text-metrics-0.3.0/Data/Text
/usr/lib64/ghc-8.10.5/text-metrics-0.3.0/Data/Text/Metrics.dyn_hi
/usr/lib64/ghc-8.10.5/text-metrics-0.3.0/Data/Text/Metrics.hi
/usr/lib64/ghc-8.10.5/text-metrics-0.3.0/libHStext-metrics-0.3.0-F6kyJ7cZsSgGcvpOziQ5qF.a
/usr/share/doc/ghc-text-metrics-devel
/usr/share/doc/ghc-text-metrics-devel/CHANGELOG.md
/usr/share/doc/ghc-text-metrics-devel/README.md

References

Summary

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