Asked by Ram Kumar
Q. Simple question, I have installed few new packages a week ago, and now I have forgotten names of packages. I want name of recently Installed RPMs.
A. RPM works under both Suse and Red Hat/Fedora Linux. You can simply use following syntax to get list of the last rpms:
# rpm -qa --last
Use less pipe to get one page output at a time
# rpm -qa -last | less
You can find out more information online using RPM book called Maximum RPM by Red Hat, Inc and read man page of rpm command.
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins

- My 10 UNIX Command Line Mistakes
- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
Facebook it - Tweet it - Print it -
We're here to help you make the most of sysadmin work. So, subscribe!

{ 2 comments… read them below or add one }
Here is another way I use. There is a log file created by YaST with installation details:One can use less or tail for inspection.
tail /var/log/YaST2/y2logRPM
…
2005-12-08 22:25:40 perl-XML-Simple-2.14-2.i586.rpm installed ok
2005-12-08 22:25:41 perl-HTML-Parser-3.45-4.i586.rpm installed ok
2005-12-08 22:25:43 perl-libwww-perl-5.803-4.i586.rpm installed ok
2005-12-09 16:46:58 xine-skins.rpm installed ok
…
Cheers,
Rainer
Rainer, nice :) We appreciate your post!