How to get transaction history for yum?

Juan Carlos Coto asked:

I would like to know how to get the transaction history of yum (i.e. get the installations, deletions, etc.), hopefully ordered from most to least recent.

Is there a way to accomplish this?

My answer:


yum history

You can get the details of a specific transaction with:

yum history info 92

To revert a transaction:

yum history undo 92

See also the yum man page for more options you can use.

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.