Product SiteDocumentation Site Listing the Most Recently Installed Packages

To list the most recently installed packages, use the following command with the --last option. This is very useful if you recently installed or upgraded a number of packages and something unexpected happens. If you cannot remember the package names, you can use the --last option to list out packages in reverse order of installation.
You can pipe the output of a query to the head command to show only the last ten packages that were installed or upgraded, as shown following:
rpm -qa --last | head
kmod-nvidia- Sat 18 Sep 2010 09:54:48 AM EDT
xorg-x11-drv-nvidia-256.53-1.fc13             Sat 18 Sep 2010 09:51:00 AM EDT
kmod-nvidia- Sat 18 Sep 2010 09:50:59 AM EDT
xorg-x11-drv-nvidia-libs-256.53-1.fc13        Sat 18 Sep 2010 09:50:57 AM EDT
google-talkplugin-                   Wed 15 Sep 2010 07:38:46 PM EDT
mythplugins-0.23.1-2.fc13                     Sun 12 Sep 2010 09:35:42 PM EDT
mythweather-0.23.1-2.fc13                     Sun 12 Sep 2010 09:35:40 PM EDT
perl-DateTime-Format-ISO8601-0.07-1.fc13      Sun 12 Sep 2010 09:35:39 PM EDT
perl-DateTime-Format-Builder-0.7901-5.fc13    Sun 12 Sep 2010 09:35:38 PM EDT
perl-Class-Factory-Util-1.7-6.fc13            Sun 12 Sep 2010 09:35:37 PM EDT 
You can pass options to the head command to show more or fewer than ten lines. In general, starting with the last ten packages can help you track down something you installed the day before.