CentOS/Red Hat Enterprise Linux yum command log

CentOS/Red Hat Enterprise Linux yum command log

To see a log of CentOS/Red Hat Enterprise Linux yum command log, enter:
# yum history
Sample outputs:

Failed to set locale, defaulting to C
ID     | Login user               | Date and time    | Action(s)      | Altered
-------------------------------------------------------------------------------
     5 | System            | 2017-04-26 10:08 | Erase          |    5   
     4 | System            | 2017-04-26 10:07 | Erase          |    1   
     3 | System            | 2017-04-26 10:07 | Install        |    6   
     2 | System            | 2017-04-25 22:20 | Erase          |    1 EE
     1 | 1000                     | 2017-04-25 22:20 | Install        |  148   
history list

Examples and usage: How to find out and show a log of actions taken by the software management on Linux