How To Install utf8proc on Rocky Linux 8

In this tutorial we learn how to install utf8proc on Rocky Linux 8. utf8proc is Library for processing UTF-8 encoded Unicode strings

Introduction

In this tutorial we learn how to install utf8proc on Rocky Linux 8.

What is utf8proc

utf8proc is a library for processing UTF-8 encoded Unicode strings. Some features are Unicode normalization, stripping of default ignorable characters, case folding and detection of grapheme cluster boundaries. A special character mapping is available, which converts for example the characters “Hyphen” (U+2010), “Minus” (U+2212) and “Hyphen-Minus (U+002D, ASCII Minus) all into the ASCII minus sign, to make them equal for comparisons. The currently supported Unicode version is 9.0.0. This package only contains the C library.

We can use yum or dnf to install utf8proc on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install utf8proc.

Install utf8proc on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install utf8proc

Install utf8proc on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install utf8proc using yum by running the following command:

sudo yum -y install utf8proc

How To Uninstall utf8proc on Rocky Linux 8

To uninstall only the utf8proc package we can use the following command:

sudo dnf remove utf8proc

utf8proc Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/7d6712474d0d32e48e0037775f9a97a16cdbff
/usr/lib64/libutf8proc.so.2
/usr/lib64/libutf8proc.so.2.1.1
/usr/share/doc/utf8proc
/usr/share/doc/utf8proc/LICENSE.md
/usr/share/doc/utf8proc/NEWS.md
/usr/share/doc/utf8proc/README.md

References

Summary

In this tutorial we learn how to install utf8proc on Rocky Linux 8 using yum and dnf.