How To Install librcd on AlmaLinux 8

In this tutorial we learn how to install librcd in AlmaLinux 8. librcd is Library for autodetection charset of Russian and Ukrainian text

Introduction

In this tutorial we learn how to install librcd on AlmaLinux 8.

What is librcd

LibRCD is used by RusXMMS project for encoding auto-detection. It is optimized to handle very short titles, like ID3 tags, file names and etc, and provides very high accuracy even for short 3-4 letter words. Current version supports Russian and Ukrainian languages and able to distinguish UTF-8, KOI8-R, CP1251, CP866, ISO8859-1. If compared with Enca, LibRCC provides better detection accuracy on short titles and is able to detect ISO8859-1 (non-Cyrillic) encoding what allows to properly display correct ID3 v.1 titles.

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

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

sudo dnf -y install librcd

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

sudo yum -y install librcd

How To Uninstall librcd on AlmaLinux 8

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

sudo dnf remove librcd

References

Summary

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