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

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

Introduction

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

What is glibc-langpack-ug

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

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

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

sudo dnf -y install glibc-langpack-ug

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

sudo yum -y install glibc-langpack-ug

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

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

sudo dnf remove glibc-langpack-ug

glibc-langpack-ug Package Contents on Rocky Linux 8

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

References

Summary

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