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

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

Introduction

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

What is glibc-langpack-hi

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

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

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

sudo dnf -y install glibc-langpack-hi

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

sudo yum -y install glibc-langpack-hi

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

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

sudo dnf remove glibc-langpack-hi

glibc-langpack-hi Package Contents on Rocky Linux 8

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

References

Summary

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