Universal & RPM Packages (rpm & snap)
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 .
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 / Syntax | Description |
|---|---|
rpm -qa | Query all installed RPM packages |
rpm -qi nginx | Query detailed package information |
snap list | List installed sandboxed snap packages |
sudo snap install lxd | Install 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.