nerdexam
Linux_Foundation

LFCS · Question #718

What RPM command would show you detailed information for a package called openssh- 3.6.i386.rpm?

The correct answer is C. rpm-query-info-package openssh-3.6.i386.rpm. To retrieve detailed information about a specific .rpm package file, the rpm command is used with the --query, --package, and --info flags.

Submitted by yuki_2020· Apr 18, 2026Essential Commands

Question

What RPM command would show you detailed information for a package called openssh- 3.6.i386.rpm?

Options

  • Arpm-showinformation openssh-3.6.i386.rpm
  • Brpm-showdetails-package openssh-3.6.i386.rpm
  • Crpm-query-info-package openssh-3.6.i386.rpm
  • Drpm-verify openssh-3.6.i386.rpm

How the community answered

(19 responses)
  • C
    95% (18)
  • D
    5% (1)

Why each option

To retrieve detailed information about a specific `.rpm` package file, the `rpm` command is used with the `--query`, `--package`, and `--info` flags.

Arpm-showinformation openssh-3.6.i386.rpm

`rpm-showinformation` is not a valid `rpm` command or flag combination.

Brpm-showdetails-package openssh-3.6.i386.rpm

`rpm-showdetails-package` is not a valid `rpm` command or flag combination.

Crpm-query-info-package openssh-3.6.i386.rpmCorrect

The `rpm` command with the flags `--query` (or `-q`), `--package` (or `-p`), and `--info` (or `-i`) is used to display detailed metadata and information about an RPM package file (`.rpm`) that is not yet installed on the system.

Drpm-verify openssh-3.6.i386.rpm

`rpm-verify` (or `rpm -V`) is used to verify the integrity of *installed* packages against their metadata, not to show detailed information about an uninstalled package file.

Concept tested: RPM package information query

Source: https://man7.org/linux/man-pages/man8/rpm.8.html

Topics

#RPM#Package Management#Command Line Utilities#Querying Packages

Community Discussion

No community discussion yet for this question.

Full LFCS Practice