How to safely downgrade or remove glibc with yum and rpm

Posted 又是火星人

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了How to safely downgrade or remove glibc with yum and rpm相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

How to improve Java's I/O performance( 提升 java i/o 性能)

How to calculate the z-graph transformation problem with the time complexity of o(n)(Z字形变换问题)

how to be an efficient man

How to address this problem?

How to install Anaconda in Ubuntu

TEMining data on cab rides to show how business information