CentOS/RHEL: How To check The History Of YUM Commands

How Do I check the detailed history information of yum command on your centos or rhel system? How to get the history of yum command under centos operating system.

You need to use “yum history” command to get history infomation of yum commands.such as:update/remove/install packages using yum command.

​CentOS/RHEL check history of yum command 


To get all history information of yum commands, you just simply issue the following command:

yum history

or

yum history list

outputs:

[root@osetc]# yum history

Loaded plugins: fastestmirror, refresh-packagekit, security, versionlock

ID     | Login user               | Date and time    | Action(s)      | Altered

-------------------------------------------------------------------------------

     6 |  <devops>                | 2014-12-14 09:11 | Update         |    1  

     5 |  <devops>                | 2014-12-14 08:41 | I, U           |    3  

     4 |  <devops>                | 2014-12-14 08:37 | Install        |    3  

     3 |  <devops>                | 2014-12-14 05:51 | Install        |    1  

     2 |  <devops>                | 2014-12-14 04:12 | I, O           |    4  

     1 | System <unset>           | 2014-11-26 14:39 | Install        | 1076

You might also like:

Sidebar



back to top