Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Investigating Packages with RPM

The Red Hat Package Manager (RPM) handles the backend operation for the high-level package manager DNF. Although DNF provides all the functionality of RPM and more, you can still use RPM to gain information about software packages. In this hands-on lab, you will be tasked with querying and verifying RPM packages using the `rpm` command. *This lab is not approved or sponsored by Red Hat.*

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
Clock icon Jun 14, 2022

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Query Installed Packages

    • Use the rpm command to list all installed packages.
    • Use the rpm command to find out which package owns the /usr/bin/iostat command.
      • Display information about the package discovered.
      • List the configuration files provided by the package discovered.
      • View the changelog information about the package discovered.
    • Use the rpm command to find out which package owns the /var/lib/dav file.
      • Display information about the package.
      • List the documentation files for the package.
      • List the scripts that are used as part of the install and uninstall process package.
  2. Challenge

    Query Uninstalled Packages

    • Use the rpm command to display information about the nginx-1.14.1-9.module+el8.0.0+4108+af250afe.x86_64.rpm file located in /home/cloud_user/rpms.
      • List the dependencies for the package.
      • List the configuration files for the package.
      • View the changelog information for the package.
    • Use the rpm command to display information about the vsftpd-3.0.3-36.el8.x86_64.rpm file located in /home/cloud_user/rpms.
      • List all the files provided by the package.
      • List the documentation files for the package.
      • List the scripts that are used as part of the install and uninstall process for the package.
  3. Challenge

    Verify Packages

    • Use the rpm command to verify the nmap and mtr packages.
    • Use the rpm command to verify the sysstat package, but do not include group ownership in the verification.
    • Use the rpm command to verify the httpd package, but do not include dependencies/capabilities and major/minor devices in the verification.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans