$
Learn Linux handbook
en
XP:0
Quest 48UniversalPkg
+180 XP

Universal & RPM Packages (rpm & snap)

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

Concept & Overview

In cross-distribution Linux environments, you will frequently encounter formats beyond Debian .deb packages:

- RPM (rpm): The native package format for RedHat, CentOS, and Fedora. Use rpm -qa to list every installed RPM package, and rpm -qi to query deep metadata (version, build architecture, signature, description).
- Snap (snap): Canonical's universal containerized package system. Snaps bundle all dependencies in an isolated sandbox across any Linux distro. Inspect installed snaps with snap list and install new tools with sudo snap install .

Audit RPM packages with rpm -qa and rpm -qi nginx, then inspect installed universal snap packages with snap list and install a snap package with sudo snap install lxd.

Command Syntax Reference

Command / SyntaxDescription
rpm -qaQuery all installed RPM packages
rpm -qi nginxQuery detailed package information
snap listList installed sandboxed snap packages
sudo snap install lxdInstall container runtime via snap

Verification Objectives

These conditions will be automatically verified when you run commands inside the interactive terminal simulator:

  • ○
    Query RPM packages using rpm -qa or rpm -qi
  • ○
    List or install snaps using snap list or sudo snap install

Ready to complete Quest 48?

Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.