How To Install ghc-hgettext on Fedora 36

In this tutorial we learn how to install ghc-hgettext in Fedora 36. ghc-hgettext is Haskell binding to libintl

Introduction

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

What is ghc-hgettext

This package provides bindings to the ‘gettext’ internationalization and localization (i18n) library. This package provides support for custom ‘Setup.hs’ scripts via the “Distribution.Simple.I18N.GetText” module. A user-contributed tutorial can be found in the [Haskell Wiki](https

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

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

sudo dnf -y install ghc-hgettext

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

sudo yum -y install ghc-hgettext

How To Uninstall ghc-hgettext on Fedora 36

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

sudo dnf remove ghc-hgettext

ghc-hgettext Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/574cf4ab37d3b8f5f1987b0fa60098519d8273
/usr/lib64/libHShgettext-0.1.31.0-IpHZtSQ71UTKktry3Sf070-ghc8.10.5.so
/usr/share/licenses/ghc-hgettext
/usr/share/licenses/ghc-hgettext/LICENSE

References

Summary

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