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

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

 

Top