Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

unfortunately, I deleted folder /var/lib/* in centos 6

how to recovery folder /var/lib/* in centos 6

Plz help me

share|improve this question

if you did rm to delete the content of this folder, there is no way to undo it. Packages which have put their data there will recreate their directory structures if you reinstall the rpm, like for example MySQL would do that, but the data is still lost. I hope you have a backup?

share|improve this answer
current to cannot perform command yum install , how to help me carry out the command yum install that? you look rpm -q centos-release yum rpm python package centos-release is not installed package yum is not installed package rpm is not installed package python is not installed – user1224937 Feb 19 '13 at 7:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.