How To Install glibc-common on CentOS 8

glibc-common is Common binaries and locale data for glibc Common binaries and locale data for glibc

Introduction

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

What is glibc-common

The glibc-common package includes common binaries for the GNU libc libraries, as well as national language (locale) support. glibc-common 2.28 151.el8 x86_64 1.3 M glibc-2.28-151.el8.src.rpm baseos Common binaries and locale data for glibc http LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL The glibc-common package includes common binaries for the GNU libc libraries, as well as national language (locale) support.

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

Install glibc-common on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install glibc-common

Install glibc-common on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install glibc-common

How To Uninstall glibc-common on CentOS 8

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

sudo dnf remove glibc-common

glibc-common Package Contents on CentOS 8

/usr/bin/catchsegv
/usr/bin/gencat
/usr/bin/getconf
/usr/bin/getent
/usr/bin/iconv
/usr/bin/ldd
/usr/bin/locale
/usr/bin/localedef
/usr/bin/makedb
/usr/bin/pldd
/usr/bin/sotruss
/usr/bin/sprof
/usr/bin/tzselect
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/b791498cd4333b2b9a97b886e5d6c457d61171
/usr/lib/.build-id/0a/50a47ff004624fd81fc90671badcaa15ceda11
/usr/lib/.build-id/29/42b4681206424757870421af07a99daa910884
/usr/lib/.build-id/29/5df748f6cd53028ebfd931daadec3ad536b80d
/usr/lib/.build-id/62/cf25090258c058f830de0f7571d07ae2b8b4bc
/usr/lib/.build-id/65
/usr/lib/.build-id/65/fe76ce1267a5a7cddd24f0b23cd11b54febd31
/usr/lib/.build-id/9d/b0ecc41cb0c3104f8f833c276c50948d825226
/usr/lib/.build-id/a0/28db657b127a171b8fd83c188b0cd4662beb59
/usr/lib/.build-id/a6/a1950915c4567f9a54b03ff131f376bbfc0c7e
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/991b351b0c7a26e69aff20496fc6ebfb6319c4
/usr/lib/.build-id/e9/7383238fa9da703dd8cf15cecb4ec854945b8e
/usr/lib/.build-id/ed/2b1117c7056bf82f7b79560b79482b1f92c32b.3
/usr/lib/locale
/usr/lib/locale/C.utf8
/usr/lib/locale/C.utf8/LC_ADDRESS
/usr/lib/locale/C.utf8/LC_COLLATE
/usr/lib/locale/C.utf8/LC_CTYPE
/usr/lib/locale/C.utf8/LC_IDENTIFICATION
/usr/lib/locale/C.utf8/LC_MEASUREMENT
/usr/lib/locale/C.utf8/LC_MESSAGES
/usr/lib/locale/C.utf8/LC_MESSAGES/SYS_LC_MESSAGES
/usr/lib/locale/C.utf8/LC_MONETARY
/usr/lib/locale/C.utf8/LC_NAME
/usr/lib/locale/C.utf8/LC_NUMERIC
/usr/lib/locale/C.utf8/LC_PAPER
/usr/lib/locale/C.utf8/LC_TELEPHONE
/usr/lib/locale/C.utf8/LC_TIME
/usr/sbin/build-locale-archive
/usr/sbin/zdump
/usr/sbin/zic
/usr/share/doc/glibc-common
/usr/share/doc/glibc-common/README.timezone
/usr/share/doc/glibc-common/gai.conf
/usr/share/i18n
/usr/share/i18n/charmaps
/usr/share/i18n/locales
/usr/share/locale/locale.alias

References

Summary

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