CentOS 6.x how to upgrade glibc 2.17

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.