CentOS / RHEL See Detailed History Of yum Commands

Originally published at: https://www.cyberciti.biz/faq/yum-history-command/

I would like to see detailed information on the history of yum transactions such as updates, deleted packages, and other information. How do I see history of yum commands on a CentOS Linux/ RHEL 6.x or 7.x based server? How do I undo or redo or rollback packages using ?

there is a log file /var/log/yum.log
Also you can do : yum history which will give you a list, with the “ID” column on the left
then you can do yum history info “ID” , example yum history info 2
is that kind of what you are asking?