How To Install ghc-rfc5051 on CentOS 7

In this tutorial we learn how to install ghc-rfc5051 on CentOS 7. ghc-rfc5051 is Simple unicode collation as per RFC5051

Introduction

In this tutorial we learn how to install ghc-rfc5051 on CentOS 7.

What is ghc-rfc5051

This library implements ‘i;unicode-casemap’, the simple, non locale-sensitive unicode collation algorithm described in RFC 5051 (<http collation can be 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-rfc5051.

Install ghc-rfc5051 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install ghc-rfc5051 using yum by running the following command:

sudo yum -y install ghc-rfc5051

Install ghc-rfc5051 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install ghc-rfc5051 using dnf by running the following command:

sudo dnf -y install ghc-rfc5051

How To Uninstall ghc-rfc5051 on CentOS 7

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

sudo dnf remove ghc-rfc5051

References

Summary

In this tutorial we learn how to install ghc-rfc5051 on CentOS 7 using yum and dnf.