How to get the list of the packages installed or updated in the last yum transaction in Red Hat Enterprise Linux 6 and 7

Solution In Progress - Updated -

Issue

  • How can I get the list of the packages installed or updated in the last yum transaction?
  • The output package should include the package name and version only.
  • I tried yum history package-info *, and search the last transaction number and the package name in the output. But the command didn't output all information.
  • Is there an alternative way to do that?

Environment

Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content