How to install or re-install a package in rescue mode.

Solution Verified - Updated -


  • Critical glibc package has been deleted, how can it be reinstalled?
  • The glibc libraries got deleted on my system accidentally, now I am unable to login to system.
  • We are getting "/lib/ bad ELF interpreter: No such file or directory" error when executing any commands on my Red Hat Enterprise Linux system.
  • Not able to chroot in rescue mode after critical packages got removed from system.
# /bin/mkdir rpm
-bash: /bin/mkdir: /lib64/ bad ELF interpreter: No such file or directory


  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In