Rpm: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 34: Line 34:


==Query for Files Installed by the Package==
==Query for Files Installed by the Package==
<pre>
rpm -q -l <full-package-name-including-version>
</pre>
Example:
<pre>
rpm -q -l dell-system-update-1.4.0-17.02.00.x86_64
</pre>

Revision as of 00:08, 25 June 2017

Internal

Overview

List of Packages and Versions Installed

rpm -qa

Query a Specific Package

rpm -q <package-name-without-version>

This will display the specific package(s) installed on the system, including version information.

More details can be obtained as follows:

Query for Package Information

rpm -q -i <full-package-name-including-version>

Example:

rpm -q -i dell-system-update-1.4.0-17.02.00.x86_64

Query for Files Installed by the Package

rpm -q -l <full-package-name-including-version>

Example:

rpm -q -l dell-system-update-1.4.0-17.02.00.x86_64