1

I am writing some scripts for CentOS. Is rpm2cpio installed by default on CentOS? I read somewhere rpm2cpio comes with rpm package, but I am not sure. I couldn't figure out from RMP project website.

For CentOS 5 and 6.

1 Answer 1

4

The rpm package is installed by default on CentOS and RHEL systems, and rpm2cpio is included in the rpm package as shown here:

$  rpm -ql rpm | grep -P 'rpm2cpio$'
/usr/bin/rpm2cpio

Therefore, yes, rpm2cpio is included in CentOS 5 and 6.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.