Which command reveals detailed information about the kernel package in yum?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

Which command reveals detailed information about the kernel package in yum?

Explanation:
When you want to see all the details Yum has about a package, you query its metadata with the info subcommand. Using this on the kernel retrieves comprehensive package information from the repositories Yum knows about, including the exact version and release, architecture, which repository it comes from, and the description, size, license, URLs, and dependencies. This is the clearest way to understand what is available or installed and what would be pulled in during an upgrade. The other options don’t fit as well. Yum list kernel only shows what versions exist or are installed, not the full metadata. RPM -q kernel looks at the RPM database for the installed kernel package and provides basic identity information, but it isn’t the Yum metadata and won’t show repository details or the full description. uname -r prints the currently running kernel version, not package metadata or Yum details.

When you want to see all the details Yum has about a package, you query its metadata with the info subcommand. Using this on the kernel retrieves comprehensive package information from the repositories Yum knows about, including the exact version and release, architecture, which repository it comes from, and the description, size, license, URLs, and dependencies. This is the clearest way to understand what is available or installed and what would be pulled in during an upgrade.

The other options don’t fit as well. Yum list kernel only shows what versions exist or are installed, not the full metadata. RPM -q kernel looks at the RPM database for the installed kernel package and provides basic identity information, but it isn’t the Yum metadata and won’t show repository details or the full description. uname -r prints the currently running kernel version, not package metadata or Yum details.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy