How To Install ghc-rfc5051 on Fedora 36

In this tutorial we learn how to install ghc-rfc5051 in Fedora 36. ghc-rfc5051 is Simple unicode collation as per RFC5051

Introduction

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

What is ghc-rfc5051

This library implements ‘i;unicode-casemap’, the simple, non locale-sensitive unicode collation algorithm described in RFC 5051 (<http done using text-icu, but that is a big dependency that depends on a large C library, and rfc5051 might be better for some purposes.

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

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

sudo dnf -y install ghc-rfc5051

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

sudo yum -y install ghc-rfc5051

How To Uninstall ghc-rfc5051 on Fedora 36

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

sudo dnf remove ghc-rfc5051

ghc-rfc5051 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/a166ed4eb73b2c463b9ba6561dd57342d2cc25
/usr/lib64/libHSrfc5051-0.2-HPoR3bKPyqo5rZWrzgOX2D-ghc8.10.5.so
/usr/share/licenses/ghc-rfc5051
/usr/share/licenses/ghc-rfc5051/LICENSE

References

Summary

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