How To Install librcd on Rocky Linux 8

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

Introduction

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

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

sudo dnf -y install librcd

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

sudo yum -y install librcd

How To Uninstall librcd on Rocky Linux 8

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

sudo dnf remove librcd

librcd Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/d920ad69b7fd4ddb8b1c14ab42c9d8217e1dec
/usr/lib64/librcd.so.0
/usr/lib64/librcd.so.0.1.14
/usr/share/doc/librcd
/usr/share/doc/librcd/AUTHORS
/usr/share/doc/librcd/README
/usr/share/licenses/librcd
/usr/share/licenses/librcd/COPYING

References

Summary

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