码迷,mamicode.com
首页 > 其他好文 > 详细

How to safely downgrade or remove glibc with yum and rpm

时间:2017-08-04 10:07:34      阅读:146      评论:0      收藏:0      [点我收藏+]

标签:install   class   currently   span   version   and   iss   math   blog   

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • glibc, glibc-common, glibc-devel, glibc-headers, nscd

Issue

  • A 3rd party application requires an older version of glibc than what‘s currently installed on the system.
  • How to downgrade glibc
  • How to remove glibc

Resolution

  • Check for the required version by running:
# yum list --showduplicates glibc
  • Downgrade the glibc package(s) to the previous version by running the following (if the requirement is a specific version, it would need to be appended to the package names below):
# yum downgrade glibc glibc-common glibc-devel glibc-headers nscd

Root Cause

  • glibc is a library that provides core functionality that much of the system relies on. This particular package contains the most important sets of shared libraries: the standard C library and the standard math library. Without these two libraries, a Linux system will not function.
  • While this can also be accomplished with RPM. Red Hat does not recommend manually removing glibc without a verified backup.

How to safely downgrade or remove glibc with yum and rpm

标签:install   class   currently   span   version   and   iss   math   blog   

原文地址:http://www.cnblogs.com/echo1937/p/7283072.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!