How To Install ghc-text on Fedora 36

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

Introduction

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

What is ghc-text

This package provides the Haskell text library.

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

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

sudo dnf -y install ghc-text

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

sudo yum -y install ghc-text

How To Uninstall ghc-text on Fedora 36

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

sudo dnf remove ghc-text

ghc-text Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/4a5cad501b413dc9cfa4a074c890fc8905b6b1
/usr/lib64/libHStext-1.2.4.1-ghc8.10.5.so
/usr/share/licenses/ghc-text
/usr/share/licenses/ghc-text/LICENSE

References

Summary

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