CentOS 6升级glibc库至2.15版本办法

2018-11-21 1,056 Views 次阅读 0 回复

1、先确保相关软件包已经安装

yum install -y glibc glibc-common glibc-devel glibc-headers glibc-static glibc-utils

2、下载升级所需软件包

下载地址:http://ftp.redsleeve.org/pub/steam/

32位更新如下:

wget http://ftp.redsleeve.org/pub/steam/glibc-2.15-60.el6.i686.rpm \
http://ftp.redsleeve.org/pub/steam/glibc-devel-2.15-60.el6.i686.rpm \
http://ftp.redsleeve.org/pub/steam/glibc-static-2.15-60.el6.i686.rpm

64位更新如下:

wget http://ftp.redsleeve.org/pub/steam/glibc-utils-2.15-60.el6.x86_64.rpm \
http://ftp.redsleeve.org/pub/steam/glibc-2.15-60.el6.x86_64.rpm \
http://ftp.redsleeve.org/pub/steam/glibc-common-2.15-60.el6.x86_64.rpm \
http://ftp.redsleeve.org/pub/steam/glibc-static-2.15-60.el6.x86_64.rpm \
http://ftp.redsleeve.org/pub/steam/glibc-devel-2.15-60.el6.x86_64.rpm \
http://ftp.redsleeve.org/pub/steam/glibc-headers-2.15-60.el6.x86_64.rpm

3、升级

rpm -Uvh *.rpm

4、验证升级结果,#查看glibc的版本

strings /lib64/libc.so.6 |grep GLIBC_

或者

ldd --version

 

— 于 2018年11月21日,共写了 865 字;

— 本文共有 1 个标签:

关注周围的人或事,体验人生历程!

发表评论

电子邮件地址不会被公开。 必填项已用*标注