How To Install utf8proc on Fedora 34

utf8proc is Library for processing UTF-8 encoded Unicode strings Library for processing UTF-8 encoded Unicode strings

Introduction

In this tutorial we learn how to install utf8proc on Fedora 34.

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. This package only contains the C library. utf8proc 2.6.1 2.fc34 x86_64 84 k utf8proc-2.6.1-2.fc34.src.rpm fedora Library for processing UTF-8 encoded Unicode strings http Unicode and MIT 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. This package only contains the C library.

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

Install utf8proc on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install utf8proc

Install utf8proc on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove utf8proc

utf8proc Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/82dd192c8b8cb4415f5769814c81f562f58423
/usr/lib64/libutf8proc.so.2
/usr/lib64/libutf8proc.so.2.4.1
/usr/share/doc/utf8proc
/usr/share/doc/utf8proc/LICENSE.md
/usr/share/doc/utf8proc/NEWS.md
/usr/share/doc/utf8proc/README.md
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/77b409a69d6aa3d4b63b0902f26618ff512983
/usr/lib/libutf8proc.so.2
/usr/lib/libutf8proc.so.2.4.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 Fedora 34 using yum and dnf.