How To Install ghc-utf8-string on Fedora 36

In this tutorial we learn how to install ghc-utf8-string in Fedora 36. ghc-utf8-string is Support for reading and writing UTF8 Strings

Introduction

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

What is ghc-utf8-string

A UTF8 layer for Strings. The utf8-string package provides operations for encoding UTF8 strings to Word8 lists and back, and for reading and writing UTF8 without truncation.

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

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

sudo dnf -y install ghc-utf8-string

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

sudo yum -y install ghc-utf8-string

How To Uninstall ghc-utf8-string on Fedora 36

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

sudo dnf remove ghc-utf8-string

ghc-utf8-string Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/2761c34612d52842f6eae8fcbe661de7252335
/usr/lib64/libHSutf8-string-1.0.2-LGUADZMAQmwIoev3AnM21Z-ghc8.10.5.so
/usr/share/licenses/ghc-utf8-string
/usr/share/licenses/ghc-utf8-string/LICENSE

References

Summary

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