How to know the version of GLIBC installed on Ubuntu?

Paul Smith paul at mad-scientist.net
Mon Aug 10 13:38:28 UTC 2020


On Mon, 2020-08-10 at 09:30 +0800, 孙世龙 sunshilong wrote:
> How to know the version of GLIBC installed on Ubuntu?

The simplest way is to ask it yourself via the --version option:

  $ /lib/*/libc.so.6 --version

gives:

GNU C Library (Ubuntu GLIBC 2.31-0ubuntu9) stable release version 2.31.
Copyright (C) 2020 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 9.3.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>;.






More information about the ubuntu-users mailing list