There are several options that are used in combination with query options. Some popular ones are as follows:
- List all the packages installed in the system:
$ rpm -qa
- Find a specific package installed in the system by piping the output of the previous command to the grep command, as shown here:

- Identify the package that installed a file on the system, as shown here:
- Display the list of files installed by an RPM package, as shown here:
- Display the recently installed RPM package, as shown ...