A .rpm installation package is a software archive file used to install, upgrade, remove, or manage software on Red Hat-based Linux operating systems.
.rpm (Red Hat Package Manager) is an installation package format that contains:
A .rpm file usually includes:
Header – contains metadata: package name, version, architecture, description…
Payload – main content includes:
Executable file
Library
Configuration
Script (pre/post install, pre/post uninstall)
rpm – native tool, used for manual installation:sudo rpm -ivh package.rpm
dnf / yum – used for dependency management, smarter installation:sudo dnf install package.rpm
.rpm package:htop-2.2.0-3.el8.x86_64.rpm
htop: software name2.2.0: version3.el8: build for RHEL 8x86_64: 64-bit architecture