How To Install glibc-common.x86_64 on Amazon Linux 2

In this tutorial we learn how to install glibc-common.x86_64 in Amazon Linux 2. glibc-common.x86_64 is Common binaries and locale data for glibc

Introduction

In this tutorial we learn how to install glibc-common.x86_64 on Amazon Linux 2.

What is glibc-common.x86_64

The glibc-common package includes common binaries for the GNU libc libraries, as well as national language (locale) support.

We can use yum to install glibc-common.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install glibc-common.x86_64.

Install glibc-common.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install glibc-common.x86_64

How To Uninstall glibc-common.x86_64 on Amazon Linux 2

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

sudo yum remove glibc-common.x86_64

glibc-common.x86_64 Package Contents on Amazon Linux 2

/etc/default
/etc/default/nss
/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/rpcgen
/usr/bin/sotruss
/usr/bin/sprof
/usr/bin/tzselect
/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-2.26
/usr/share/doc/glibc-common-2.26/README.timezone
/usr/share/doc/glibc-common-2.26/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.x86_64 on Amazon Linux 2 using yum.