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

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

Introduction

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

What is glibc-langpack-mt

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

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

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

sudo dnf -y install glibc-langpack-mt

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

sudo yum -y install glibc-langpack-mt

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

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

sudo dnf remove glibc-langpack-mt

glibc-langpack-mt Package Contents on Rocky Linux 8

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

References

Summary

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