I am trying to find some recently installed rpms
on my redhat linux
system, Does RPM provide any way to do this?
I have tried
#rpm -qa
But it only provides installed rpms. What are the options available for this?
$ rpm -q <package-name> --last Example: Below command shows the update history of kernel. For complete package update history use the following command.
Most files pertaining to RPM are kept in the /var/lib/rpm/ directory.
Using an option -q along with the package name will display whether the RPM package is installed or not. The command is as follows: # rpm -q apacheds-2.0. 0.
If you want to know the version of an installed package : rpm -q YOURPACKAGE This works on all RPM systems. On RedHat/Fedora, see yum.
You should try
#rpm -qa --last
it provide a detailed summary of installed rpms with date and time stamp. Hope it helps you.
#rpm -qa --last | more
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With