CentOS /RHEL: How To Check GNU Libc Version

How Do I check out the version of GNU C Library on your CentOs 7/6.5 or RHEL 7/6.5 linux? I would like to check glibc version on my linux system. this post will show you how to check out the version of glibc installed on CentOS 7 system.

The GNU C Library, commonly known as glibc, is the GNU Project’s implementation of the C standard library. Originally written by the Free Software Foundation (FSF) for the GNU operating system

 CentOS /RHEL check GNU Libc Version 


To check glibc version on your linux system, you just need to run the below command, type:

ldd --version

outputs:

[root@devops network-scripts]# ldd --version

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.

There is another way to check glibc library version, issue the following command:

#For 64 bit system:

/lib64/libc.so.6

#For 32 bit system:

/lib/libc.so.6

Outputs:

[root@devops network-scripts]# /lib64/libc.so.6 

GNU C Library (GNU libc) stable release version 2.17, by Roland McGrath et al.

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.

Compiled by GNU CC version 4.8.2 20140120 (Red Hat 4.8.2-16).

Compiled on a Linux 3.10.0 system on 2014-06-10.

Available extensions:

The C stubs add-on version 2.1.2.

crypt add-on version 2.1 by Michael Glad and others

GNU Libidn by Simon Josefsson

Native POSIX Threads Library by Ulrich Drepper et al

BIND-8.2.3-T5B

RT using linux kernel aio

libc ABIs: UNIQUE IFUNC

For bug reporting instructions, please see:

<http://www.gnu.org/software/libc/bugs.html>.

You might also like:

Sidebar



back to top