LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can I extract files from a .rpm file? (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-extract-files-from-a-rpm-file-827484/)

ro0tless 08-20-2010 12:34 PM

How can I extract files from a .rpm file?
 
Hi,
I'm a Gentoo user and newbie to rpm. But I began FC14 also. So please tell me how to extract files from a rpm, anyone?

Thanks in advance!

knudfl 08-20-2010 12:37 PM

1 Attachment(s)
rpm2cpio <package>.rpm | cpio -idmv

Or use the " @unSpawn unPack script ".
..

colucix 08-20-2010 12:38 PM

Please, check this thread (especially the script from unSpawn). Basically you need rpm2cpio.

Edit: Beaten by knudfl... :)

DavidMcCann 08-20-2010 12:48 PM

Or, using your GUI, just right-click on the .rpm and choose to open with the archive manager.

ro0tless 08-20-2010 12:53 PM

Thank you!
I'll try!


All times are GMT -5. The time now is 03:38 AM.