How To Install glibc-minimal-langpack on CentOS 8

In this tutorial we learn how to install glibc-minimal-langpack on CentOS 8. glibc-minimal-langpack is Minimal language packs for glibc.

Introduction

In this tutorial we learn how to install glibc-minimal-langpack on CentOS 8.

What is glibc-minimal-langpack

This is a Meta package that is used to install minimal language packs. This package ensures you can use C, POSIX, or C.UTF-8 locales, but nothing else. It is designed for assembling a minimal system.

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

Install glibc-minimal-langpack on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install glibc-minimal-langpack using yum by running the following command:

sudo yum -y install glibc-minimal-langpack

Install glibc-minimal-langpack on CentOS 8 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install glibc-minimal-langpack using dnf by running the following command:

sudo dnf -y install glibc-minimal-langpack

How To Uninstall glibc-minimal-langpack on CentOS 8

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

sudo dnf remove glibc-minimal-langpack

References

Summary

In this tutorial we learn how to install glibc-minimal-langpack on CentOS 8 using yum and dnf.