Extract rpm files from the command line
You can use `rpmfile` via it's module invocation or via `rpmfile` command if
your `PATH` environment variable is configured correctly. Pass `--help` for all
options.
List RPM contents
conosle
curl -sfL 'https://example.com/some.rpm.gz' | gzip -d - | python -m rpmfile -l -
./path/to/file
Extract files
conosle
curl -sfL 'https://example.com/some.rpm.gz' | gzip -d - | rpmfile -x -
./path/to/file
Extract files to directory
conosle
curl -sfL 'https://example.com/some.rpm.gz' | gzip -d - | rpmfile -xC /tmp -
/tmp/path/to/file