TestOut Linux Pro Practice Test

Question: 1 / 400

To verify the installation of a package in rpm, which command would you use?

rpm -e

rpm -q

To verify the installation of a package using RPM, the command that should be used is designed specifically for querying installed packages. This command allows you to check whether a specific package is installed and access its details.

Utilizing the query option with RPM provides information about the installed packages, including version numbers, installation dates, and file locations. When you specify the package name with this command, it will confirm if that package is currently installed on the system and return the necessary details.

Other commands listed serve different purposes. The command used to remove a package would not serve to verify installation. Similarly, installing a package or verifying packages using a different package manager like DNF, does not apply in the context of querying with RPM.

Get further explanation with Examzify DeepDiveBeta

rpm -ivh

dnf verify

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy