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

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

Introduction

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

What is glibc-langpack-th

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

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

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

sudo dnf -y install glibc-langpack-th

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

sudo yum -y install glibc-langpack-th

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

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

sudo dnf remove glibc-langpack-th

glibc-langpack-th Package Contents on Rocky Linux 8

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

References

Summary

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