RPM - Listing installed packages

by
Jeremy Canfield |
Updated: August 15 2021
| RPM articles
The -qa or --query --all options to view all installed packages.
[root@server1 ~]# rpm -qa
[root@server1 ~]# rpm --query --all
php-mbstring-version
some-other-rpm
another-rpm
The -qa --last or --query --all --last options can be used to view recently installed packages
[root@server1 ~]# rpm -qa --last
[root@server1 ~]# rpm --query --all --last
php-mbstring-version
some-other-rpm
another-rpm
Did you find this article helpful?
If so, consider buying me a coffee over at