From Electron Cloud
(New page: *[http://www.idevelopment.info/data/Unix/Linux/LINUX_RPMCommands.shtml nice list of RPM commands] *the one I usually forget: how to list files in an RPM without installing it? rpm -qpl <...) |
|||
Line 1: | Line 1: | ||
*[http://www.idevelopment.info/data/Unix/Linux/LINUX_RPMCommands.shtml nice list of RPM commands] | *[http://www.idevelopment.info/data/Unix/Linux/LINUX_RPMCommands.shtml nice list of RPM commands] | ||
− | * | + | *how to list files in an RPM without installing it? |
rpm -qpl <file> | rpm -qpl <file> | ||
+ | *[https://helpdesk.ndchost.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=89&nav=0 how to extract files from an RPM without installing it] | ||
+ | mkdir -p /tmp/rpm-extract | ||
+ | cd /tmp/rpm-extract | ||
+ | rpm2cpio dummy.rpm | cpio -idmv |
Latest revision as of 11:59, 8 April 2009
- nice list of RPM commands
- how to list files in an RPM without installing it?
rpm -qpl <file>
mkdir -p /tmp/rpm-extract cd /tmp/rpm-extract rpm2cpio dummy.rpm | cpio -idmv