How to check recently installed rpms?

I am trying to find recently installed rpmson my system redhat linux. Does RPM provide any way to do this?

I tried

#rpm -qa 

But it provides only installed rpms. What are the options for this?

+4
source share
2 answers

You must try

#rpm -qa --last 

it provides a detailed summary of installed rpms with a date and time stamp. Hope this helps you.

#rpm -qa --last | more
+4
source

If you mean that rpm is not installed but is available in yum repositories, you can use

 yum list available
-1
source

All Articles