How to use RPM

Extract files from an RPM

rpm2cpio my-rpm.rpm | cpio -ivmd

Query packages for architecture

rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n"

Convert RPM to Debian package:

alien -d my-rpm.rpm 
This entry was posted in RPM and tagged , , , . Bookmark the permalink.

Comments are closed.