How to Install and Uninstall glibc-static.x86_64 Package on Amazon Linux 2

Last updated: June 26,2024

1. Install "glibc-static.x86_64" package

Please follow the guidance below to install glibc-static.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install glibc-static.x86_64

2. Uninstall "glibc-static.x86_64" package

This guide let you learn how to uninstall glibc-static.x86_64 on Amazon Linux 2:

$ sudo yum remove glibc-static.x86_64 $ sudo yum autoremove

3. Information about the glibc-static.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : glibc-static
Arch : x86_64
Version : 2.26
Release : 58.amzn2
Size : 1.6 M
Repo : amzn2-core/2/x86_64
Summary : C library static libraries for -static linking.
URL : http://www.gnu.org/software/glibc/
License : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
Description : The glibc-static package contains the C library static libraries
: for -static linking. You don't need these, unless you link
: statically, which is highly discouraged.