How To Install ghc-hxt-unicode on Fedora 36

In this tutorial we learn how to install ghc-hxt-unicode in Fedora 36. ghc-hxt-unicode is Unicode en-/decoding functions for utf8, iso-latin-* and other encodings

Introduction

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

What is ghc-hxt-unicode

Unicode encoding and decoding functions for utf8, iso-latin-* and somes other encodings, used in the Haskell XML Toolbox. ISO Latin 1 - 16, utf8, utf16, ASCII are supported. Decoding is done with lazy functions, errors may be detected or ignored.

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

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

sudo dnf -y install ghc-hxt-unicode

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

sudo yum -y install ghc-hxt-unicode

How To Uninstall ghc-hxt-unicode on Fedora 36

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

sudo dnf remove ghc-hxt-unicode

ghc-hxt-unicode Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/17d4fab7a3235a53be9a9be9f669004f611fc3
/usr/lib64/libHShxt-unicode-9.0.2.4-GK0ThHzJt0FAHsh6s5OtO-ghc8.10.5.so
/usr/share/licenses/ghc-hxt-unicode
/usr/share/licenses/ghc-hxt-unicode/LICENSE

References

Summary

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