Howto: Finding out recently Installed RPMs under Suse Linux

last updated in Categories News

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.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 3 comments/add one below):

3 comment

  1. 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

    Have a question? Post it on our forum!