CentOS 6.x How to upgrade glibc 2.17
LDD--version
Rpm-qa | grep glibc
#查看glibc的版本
strings/lib64/libc.so.6 |grep glibc_
sudo yum install Zli B-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make
update glibc to 2.17 for CentOS 6
# Update glibc to 2.17 for CentOS 6 wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_ 64/GLIBC-2.17-55.FC20/GLIBC-UTILS-2.17-55.EL6.X86_64.RPM & wget http://copr-be.cloud.fedoraproject.org/ RESULTS/MOSQUITO/MYREPO-EL6/EPEL-6-X86_64/GLIBC-2.17-55.FC20/GLIBC-STATIC-2.17-55.EL6.X86_64.RPM & wget http ://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/ GLIBC-2.17-55.EL6.X86_64.RPM & wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/ EPEL-6-X86_64/GLIBC-2.17-55.FC20/GLIBC-COMMON-2.17-55.EL6.X86_64.RPM & wget http:// copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/ GLIBC-DEVEL-2.17-55.EL6.X86_64.RPM & wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/ EPEL-6-X86_64/GLIBC-2.17-55.FC20/GLIBC-HEADERS-2.17-55.EL6.X86_64.RPM & wget http:// Copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/nscd-2.17-55.el6.x86_64.rpm & sudo rpm-e--nodeps--justdb glibc-2.*.i686--allmatches sudo rpm-uvh
*-2.17-55.el6.x86_64.rpm #或者: sudo rpm-uvh *-2.17-55.el6.x86_64.rpm--force--nodeps
update glibc to 2.15 for CentOS 6
# Update glibc to 2.15 for CentOS 6 wget-c http://ftp.redsleeve.org/pub/steam/glibc-utils-2.15-60.el6.x86_64.rpm & W Get-c http://ftp.redsleeve.org/pub/steam/glibc-headers-2.15-60.el6.x86_64.rpm & wget-c http:// FTP.REDSLEEVE.ORG/PUB/STEAM/GLIBC-STATIC-2.15-60.EL6.X86_64.RPM & Wget-c http://ftp.redsleeve.org/pub/steam/ GLIBC-COMMON-2.15-60.EL6.X86_64.RPM & Wget-c http://ftp.redsleeve.org/pub/steam/glibc-2.15-60.el6.x86_64.rpm & wget-c http://ftp.redsleeve.org/pub/steam/glibc-common-2.15-60.el6.i686.rpm & wget-c http:// FTP.REDSLEEVE.ORG/PUB/STEAM/GLIBC-DEVEL-2.15-60.EL6.X86_64.RPM & Wget-c http://ftp.redsleeve.org/pub/steam/ nscd-2.15-60.el6.x86_64.rpm & sudo rpm-e--nodeps--justdb glibc-2.*.i686--allmatches RPM-UVH *-2.15-60.el6.x86_64 . RPM RPM-UVH glibc-2.15-60.el6.i686.rpm Ldconfig #-E,--erase Erase (Uninstall) package #-U,--u Pgrade=<packagefile>+ Upgrade Package (s) #-V,--verbose ProVide more detailed output #-H,--hash print hash marks as package installs (good with-v) #--node
PS Ignore package dependencies forced installation
Source Installation
wget https://mirrors.tuna.tsinghua.edu.cn/gnu/glibc/glibc-2.17.tar.gz
tar-zxvf glibc-2.17.tar.gz
CD glibc-2.17
mkdir build && cd $_
sudo. /configure--prefix=/usr/glibc-2.17--disable-profile--enable-add-ons--with-headers=/usr/include--with-binutils= /usr/bin make
&& make install
Share Centos6.5 Upgrade GLIBC process
CentOS 6.x how to upgrade glibc 2.17
Linux rpm command parameters to use the detailed [introduction and application]
RPM Installation error:failed dependencies