如何检查 glibc (GNU libc) 版本 Fedora 22

[ad_1]

飞行前检查

  • 这些说明专门用于检查已安装的 glibc 版本。
  • 我将从 Liquid Web Self Managed 工作 Fedora 22服务器,我将以root身份登录。

使用 ldd

ldd --version

这应该返回类似于(尽管您的版本可能会有所不同)的结果:

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.

在这种情况下, 2.21 版 已安装。

使用 dnf

dnf list glibc

这应该返回类似于以下内容的结果:

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

在这种情况下, 2.21-5.fc22 是安装的包。

[ad_2]

Related Posts