How To Install glibc-langpack-chr on Rocky Linux 8

In this tutorial we learn how to install glibc-langpack-chr on Rocky Linux 8. glibc-langpack-chr is Locale data for chr

Introduction

In this tutorial we learn how to install glibc-langpack-chr on Rocky Linux 8.

What is glibc-langpack-chr

The glibc-langpack-chr package includes the basic information required to support the chr language in your applications.

We can use yum or dnf to install glibc-langpack-chr on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install glibc-langpack-chr.

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

sudo dnf -y install glibc-langpack-chr

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

sudo yum -y install glibc-langpack-chr

How To Uninstall glibc-langpack-chr on Rocky Linux 8

To uninstall only the glibc-langpack-chr package we can use the following command:

sudo dnf remove glibc-langpack-chr

glibc-langpack-chr Package Contents on Rocky Linux 8

/usr/lib/locale
/usr/lib/locale/chr_US
/usr/lib/locale/chr_US/LC_ADDRESS
/usr/lib/locale/chr_US/LC_COLLATE
/usr/lib/locale/chr_US/LC_CTYPE
/usr/lib/locale/chr_US/LC_IDENTIFICATION
/usr/lib/locale/chr_US/LC_MEASUREMENT
/usr/lib/locale/chr_US/LC_MESSAGES
/usr/lib/locale/chr_US/LC_MESSAGES/SYS_LC_MESSAGES
/usr/lib/locale/chr_US/LC_MONETARY
/usr/lib/locale/chr_US/LC_NAME
/usr/lib/locale/chr_US/LC_NUMERIC
/usr/lib/locale/chr_US/LC_PAPER
/usr/lib/locale/chr_US/LC_TELEPHONE
/usr/lib/locale/chr_US/LC_TIME

References

Summary

In this tutorial we learn how to install glibc-langpack-chr on Rocky Linux 8 using yum and dnf.