How to extract files from RPM
In Category Linux
All the files present in a RPM file can be extracted using rpm2cpio and cpio utilities. The rpm2cpio command is used to convert RPM to cpio compatible archive and cpio command can be used to extract files from the archive.
The following example shows how extract files from ElectricFence RPM.
[liz@techpulp ~]# rpm2cpio ElectricFence-2.2.2-23.rpm | cpio -idv
Recent Comments