Howto: Finding out recently Installed RPMs under Suse Linux

Asked by Ram Kumar

ADVERTISEMENTS

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.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
3 comments… add one
  • Anonymous Dec 21, 2005 @ 7:16

    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

  • 🐧 nixcraft Dec 21, 2005 @ 12:36

    Rainer, nice 🙂 We appreciate your post!

  • kamal kakkar Jun 7, 2012 @ 9:28

    Good to know… “Nixcraft” rocks….

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.