What RPM command is used to display detailed information about a package?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

The command option that displays detailed information about a package in RPM is the one that includes the '-qi' flag. When you use rpm -qi package_name, it shows the package name, version, release, architecture, and other information such as the package's summary, description, and installation date. This makes it useful for obtaining comprehensive details about a specific RPM package that is installed on the system.

The other command options serve different purposes:

  • The '-qd' flag would be used to display the documentation files that come with the package.
  • The '-ql' flag lists all the files that were installed with the package.
  • The '-qf' option is used to find out which package a specific file belongs to.

Each command provides a different facet of information related to RPM packages, but for detailed package information, '-qi' is the correct choice.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy