- Code: Select all
rpm2cpio php-pdo-5.1.6-24.el5_4.5.i386.rpm| cpio -idmv
./etc/php.d/pdo.ini
./etc/php.d/pdo_sqlite.ini
./usr/lib/php/modules/pdo.so
./usr/lib/php/modules/pdo_sqlite.so
202 blocks
Output of rpm2cpio piped to cpio command with following options:
i: Restore archive
d: Create leading directories where needed
m: Retain previous file modification times when creating files
v: Verbose i.e. display progress
Verify that you have extracted an RPM file in current directory:
- Code: Select all
ls
etc php-pdo-5.1.6-24.el5_4.5.i386.rpm usr