There are many different ways to get a list of all recently (or not so recently) installed packages. This can be useful when troubleshooting a recent update that potentially broke your application and/or infrastructure. The commands vary according to the Linux package manager used in your distro. This will generally give you a long list of packages, so it’s a good idea to pipe it to ‘less’. Once in ‘less’, you can use ‘ctrl + d’ to go down 1 page, and ‘ctrl + u’ to go up 1 page, and ‘q’ to quit.
RPM based (Fedora, CentOS, RHEL…):
$ rpm -qa --last | less
If you only want the last 10 updated packages, you can pipe it to head:
$ rpm -qa --last | head
To show all packages installed via rpm:
$ rpm -qa