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

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

Introduction

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

What is glibc-langpack-os

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

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

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

sudo dnf -y install glibc-langpack-os

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

sudo yum -y install glibc-langpack-os

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

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

sudo dnf remove glibc-langpack-os

glibc-langpack-os Package Contents on Rocky Linux 8

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

References

Summary

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