CentOS 6.x 如何升級 glibc 2.17

來源:互聯網
上載者:User
CentOS 6.x 如何升級 glibc 2.17
ldd --versionrpm -qa | grep glibc#查看glibc的版本strings /lib64/libc.so.6 |grep GLIBC_sudo yum install zlib-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 6wget 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 --allmatchessudo 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 6wget -c http://ftp.redsleeve.org/pub/steam/glibc-utils-2.15-60.el6.x86_64.rpm &wget -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 --allmatchesrpm -Uvh *-2.15-60.el6.x86_64.rpmrpm -Uvh glibc-2.15-60.el6.i686.rpmldconfig# -e, --erase                       erase (uninstall) package# -U, --upgrade=<packagefile>+      upgrade package(s)# -v, --verbose                     provide more detailed output# -h, --hash                        print hash marks as package installs (good with -v)# --nodeps                          忽略軟體包的依賴關係強行安裝
源碼安裝
wget https://mirrors.tuna.tsinghua.edu.cn/gnu/glibc/glibc-2.17.tar.gztar -zxvf glibc-2.17.tar.gzcd glibc-2.17mkdir 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

分享Centos6.5升級glibc過程
CentOS 6.x 如何升級 glibc 2.17
Linux rpm 命令參數使用詳解[介紹和應用]
rpm 安裝時error: Failed dependencies

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.