rpm2cpio
« Back to VersTracker
Description:
Tool to convert RPM package to CPIO archive
Type: Formula  |  Latest Version: 1.4@0  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: rpm cpio archiving cli conversion
Install: brew install rpm2cpio
About:
Rpm2cpio is a command-line utility that extracts the contents of an RPM package file by converting it into a CPIO archive. This allows users to inspect or extract files from an RPM without needing the full RPM package management system installed. It is particularly useful for portability and for examining package contents on non-RPM-based systems.
Key Features:
  • Converts RPM packages to CPIO archives
  • No dependency on the RPM package manager
  • Simple and lightweight command-line interface
  • Supports standard input/output for piping
Use Cases:
  • Extracting files from an RPM on Debian or macOS systems
  • Inspecting the contents of a binary package without installation
  • Scripting automated extraction of RPM payloads
Alternatives:
  • rpm2cpio.sh – A popular shell script alternative with similar functionality
  • bsdtar – Can often extract RPMs directly but is a larger tool
Version History
Detected Version Rev Change Commit
Sep 13, 2025 4:33am 1.4 0 VERSION_BUMP 01c798e9