How To Install librcd on CentOS 7

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

Introduction

In this tutorial we learn how to install librcd on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install librcd.

Install librcd on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install librcd

Install librcd on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install librcd

How To Uninstall librcd on CentOS 7

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 CentOS 7 using yum and dnf.