How To Check Glibc Version On Linux - Xmodulo
Maybe your like
Last updated on July 9, 2020 by Dan Nanni
Question: I need to find out the version of the GNU C library (glibc) that I have on my Linux system. How can I check glibc version on Linux?The GNU C library (glibc) is the GNU implementation of the standard C library. glibc is a critical component of the GNU toolchain, which is used along with binutils and compiler to generate userspace application binaries for a target architecture.
When built from source, some Linux programs may be required to link against a particular version of glibc. In that case, you may want to check out the information about installed glibc to see if dependencies are met.
Here are simple ways to check glibc version on Linux.
Method One
A simple command-line to check the version of the GNU C library is as follows.
$ ldd --version
In this example, the version of glibc is 2.19.
Method Two
Another method is to "type" the glibc library (i.e., libc.so.6) from the command line as if it were a command.
The output will show more detailed information about glibc library, including the version of glibc and the GNU compiler used, as well as available glibc extensions. The location of glibc varies depending on distros and processor architectures.
On 64-bit Debian based system:
$ /lib/x86_64-linux-gnu/libc.so.6on 32-bit Debian based system:
$ /lib/i386-linux-gnu/libc.so.6On 64-bit Red Hat based system:
$ /lib64/libc.so.6On 32-bit Red Hat based systems:
$ /lib/libc.so.6Here is the sample output of typing glibc library.
Tag » How To Check Glibc Version
-
Find Glibc Version In Your System - OpenGenus IQ
-
How To Get Glibc Version - C Lang
-
Check Glibc Version For A Particular Gcc Compiler - Stack Overflow
-
How To Check Glibc Version?
-
Linux: Check The Glibc Version - Benohead's Software Blog
-
Check Glibc Version In Linux - Lindevs
-
CentOS /RHEL: How To Check GNU Libc Version - OSETC TECH
-
How Do I Tell Which Version Of Glibc I Have Installed On My System?
-
How To Check Glibc Version In Linux - Alfredo's Memo Wiki
-
The GNU C Library
-
How To Check The Glibc Version In Fedora - Liquid Web
-
How To Check The Glibc Version On CentOS - Liquid Web
-
Prints The Various Glibc Versions Required By An Executable · GitHub
-
Check The Actual Glibc Version Used - Unix & Linux Stack Exchange