Let`s find where file(s) will be put after .rpm package install:
- Code: Select all
# rpm -qlp nagios-plugins-1.4.15-2.el5.rf.x86_64.rpm | grep rbl
/usr/lib64/nagios/plugins/contrib/check_rbl.c
And extract only it from the archive:
- Code: Select all
# rpm2cpio nagios-plugins-1.4.15-2.el5.rf.x86_64.rpm | cpio -ivd ./usr/lib64/nagios/plugins/contrib/check_rbl.c