How to Check the glibc (GNU libc) Version on Fedora 22

Posted on by J. Mays | Updated:
Reading Time: < 1 minute

Pre-Flight Check

  • These instructions are intended specifically for checking the installed version of glibc.
  • I’ll be working from a Liquid Web Self Managed Fedora 22 server, and I’ll be logged in as root.

Using ldd

ldd --version

This should return a result similar to (though your version may vary):

ldd (GNU libc) 2.21
Copyright (C) 2015 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.21 is installed.

Using dnf

dnf list glibc

This should return a result similar to:

Installed Packages
glibc.x86_64           2.21-5.fc22           @System
Available Packages
glibc.i686             2.21-5.fc22           fedora

In this case, 2.21-5.fc22 is the package installed.

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

How to install PyTorch on Linux (AlmaLinux)

Read Article

Innovative armor — exploring ThreatDown’s impact on cyber defense

Read Article

Controlling PHP settings with a custom php.ini file

Read Article

Linux dos2unix command syntax — removing hidden Windows characters from files

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article