How To Install utf8proc on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install utf8proc on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install utf8proc.

Install utf8proc on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove utf8proc

References

Summary

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