Archive for the 'RedHat_EL' Category

 

Extract rpm files ..

Feb 20, 2011 in Fedora, Linux, RedHat_EL

rpm2cpio myrpmfile.rpm | cpio -idmv

from: http://www.cyberciti.biz/tips/how-to-extract-an-rpm-package-without-installing-it.html

List contents of an rpm ..

Jul 30, 2010 in Fedora, Linux, RedHat_EL

From http://www.tech-recipes.com/rx/1419/list-files-in-an-rpm-package/

To list the contents of the RPM techrx.rpm use this command:

rpm -qlp techrx.rpm