Thursday, February 07, 2008

Handy RPM commands

# Unpackage an ISO file.
rpm2cpio <> | cpio -idmv

# Extracting the scripts from the rpm
rpm -qp --scripts <> >> /tmp/scripts

# Command to find if any of the files delivered by an RPM has changed.
rpm --verify











No comments:

Post a Comment