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

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

Introduction

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

What is glibc-langpack-hr

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

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

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

sudo dnf -y install glibc-langpack-hr

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

sudo yum -y install glibc-langpack-hr

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

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

sudo dnf remove glibc-langpack-hr

glibc-langpack-hr Package Contents on Rocky Linux 8

/usr/lib/locale
/usr/lib/locale/hr_HR
/usr/lib/locale/hr_HR.utf8
/usr/lib/locale/hr_HR.utf8/LC_ADDRESS
/usr/lib/locale/hr_HR.utf8/LC_COLLATE
/usr/lib/locale/hr_HR.utf8/LC_CTYPE
/usr/lib/locale/hr_HR.utf8/LC_IDENTIFICATION
/usr/lib/locale/hr_HR.utf8/LC_MEASUREMENT
/usr/lib/locale/hr_HR.utf8/LC_MESSAGES
/usr/lib/locale/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
/usr/lib/locale/hr_HR.utf8/LC_MONETARY
/usr/lib/locale/hr_HR.utf8/LC_NAME
/usr/lib/locale/hr_HR.utf8/LC_NUMERIC
/usr/lib/locale/hr_HR.utf8/LC_PAPER
/usr/lib/locale/hr_HR.utf8/LC_TELEPHONE
/usr/lib/locale/hr_HR.utf8/LC_TIME
/usr/lib/locale/hr_HR/LC_ADDRESS
/usr/lib/locale/hr_HR/LC_COLLATE
/usr/lib/locale/hr_HR/LC_CTYPE
/usr/lib/locale/hr_HR/LC_IDENTIFICATION
/usr/lib/locale/hr_HR/LC_MEASUREMENT
/usr/lib/locale/hr_HR/LC_MESSAGES
/usr/lib/locale/hr_HR/LC_MESSAGES/SYS_LC_MESSAGES
/usr/lib/locale/hr_HR/LC_MONETARY
/usr/lib/locale/hr_HR/LC_NAME
/usr/lib/locale/hr_HR/LC_NUMERIC
/usr/lib/locale/hr_HR/LC_PAPER
/usr/lib/locale/hr_HR/LC_TELEPHONE
/usr/lib/locale/hr_HR/LC_TIME
/usr/share/locale/hr/LC_MESSAGES/libc.mo

References

Summary

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