Server Fault is a question and answer site for system and network administrators. 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

One of my questions on here has a lot of views and I have yet to select the best answer. Unfortunately, I cannot remember how I solved my problem.

The problem involved installing some stuff from yum. So I did:

history | grep yum

But I got no results, probably because I ran those commands many months ago, some time around January I think...

Is there any way to dig up that old history?

share|improve this question
up vote 3 down vote accepted

You can also view the Yum transaction log in /var/log/yum.log to see which packages were installed/updated/removed over time.

share|improve this answer
This is really useful. I think this will allow me to reconstruct what I did. – Buttle Butkus Sep 27 '12 at 4:52

Try with "yum history list all". Follwoing is a link to yum history details.

share|improve this answer
That command doesn't work at all on my CentOS machine. – Buttle Butkus Sep 27 '12 at 4:52

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.