The yum history command displays list of all commands used to install or remove packages using yum package manager. The list is ordered by date and id. Each history item is called a transaction.
yum history info transaction_id
where transaction_id is a number such as 15.
yum history info httpd
yum history package-list httpd or yum history package-info httpd
yum history undo transaction_id
yum history redo transaction_id
* To rollback or reverse changes made upto a certain transaction, enter the command:
```bash
yum history rollback transaction_id
See the article How to Use ‘Yum History’ to Find Out Installed or Removed Packages Info for more information on viewing package information using yum.