โ† All RHCSA Flashcard Decks

RHCSA Software Package Management Flashcards

7 cards from real RHCSA practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 RHCSA Software Package Management flashcards as text
  1. You want to download an RPM package without installing it. Which command accomplishes this?

    Answer: dnf download

    'dnf download ' downloads the RPM to the current directory without installing it; the plugin is included by default in RHEL 8+.

  2. Which command shows the list of all DNF modules available in configured repositories?

    Answer: dnf module list

    'dnf module list' displays all available modules with their streams, profiles, and current status.

  3. What is a DNF module 'profile'?

    Answer: A predefined set of packages within a module stream for a specific use case

    A module profile is a curated list of packages from a stream optimized for a role (e.g., 'minimal', 'server', 'client') that can be installed together.

  4. An RPM package fails to install because it conflicts with an already-installed package. What flag forces the installation anyway (for testing only)?

    Answer: rpm -ivh --force

    'rpm --force' overrides file conflicts and other non-fatal errors; --nodeps skips dependency checks, --replacefiles is not a valid rpm flag.

  5. Where does DNF store downloaded package metadata and cached RPMs by default?

    Answer: /var/cache/dnf/

    DNF caches repository metadata and optionally downloaded packages in /var/cache/dnf/ organized by repository ID.

  6. Which command installs the 'development' profile of the 'nodejs' module stream '18'?

    Answer: dnf module install nodejs:18/development

    DNF module install uses the syntax 'module:stream/profile' to specify exactly which stream and profile to install.

  7. What command would you use to find which package installed the binary /usr/sbin/firewalld on a running system?

    Answer: rpm -qf /usr/sbin/firewalld

    'rpm -qf ' queries the RPM database to identify which installed package owns a specific file already on the system.