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

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

Introduction

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

What is glibc-langpack-oc

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

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

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

sudo dnf -y install glibc-langpack-oc

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

sudo yum -y install glibc-langpack-oc

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

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

sudo dnf remove glibc-langpack-oc

glibc-langpack-oc Package Contents on Rocky Linux 8

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

References

Summary

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