Wednesday, December 5, 2012

Extract pre/post install,uninstall scripts from RPM in Linux

It is quite useful sometimes to debug by extracting the pre,post install scripts and post uninstall scripts from RPM. Or to verify what actions being performed by rpm scripts during install, upgrade and uninstall process. To extract rpm scripts run the following command.
#rpm -qp --scripts > ./rpm_scripts
Open ./rpm_scripts file to view the scripts. Pin It
Related Posts Plugin for WordPress, Blogger...