How to Check the glibc (GNU libc) Version on CentOS 6 and CentOS 7

Using ldd

ldd --version


This should return a result similar to:

ldd (GNU libc) 2.17
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.


In this case, version 2.17 is installed.

Using yum

yum list glibc


This should return a result similar to:

Loaded plugins: fastestmirror, langpacks, priorities
Loading mirror speeds from cached hostfile
3 packages excluded due to repository priority protections
Installed Packages
glibc.x86_64        2.17-55.el7_0.3          @system-updates-released
Available Packages
glibc.i686          2.17-55.el7_0.3          system-updates-released


In this case, 2.17-55.el7_0.3 is the package installed.

  • 35 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

How to List Compiled PHP Modules from Command Line

Pre-Flight Check These instructions are intended specifically for listing compiled PHP modules...

How to Install or Uninstall PECL Extensions

Pre-Flight Check These instructions are intended specifically for installing or uninstalling...

How to Install the MongoDB PHP Driver (Extension) on CentOS 6

Step 1: Setup Environment, Install PHP Extension & Application Repository (PEAR) As a matter...

How to Add a User and Grant Root Privileges on CentOS 6.5

Step 1: Add the User It’s just one simple command to add a user. In this case, we’re...

How to Add a User and Grant Root Privileges on Ubuntu 14.04

Step 1: Add the User It’s just one simple command to add a user. In this case, we’re...