[CentOS] Slackware's 'explodepkg' equivalent for rpm?

Sun Sep 14 13:20:24 UTC 2008
Jim Perrin <jperrin at gmail.com>

On Sun, Sep 14, 2008 at 9:15 AM, Niki Kovacs <contact at kikinovak.net> wrote:
> Hi,
>
> Is there any 'explodepkg' equivalent for the rpm command? What I want is
> simply uncompress an RPM package to get the files directly, but I didn't
> find anything in rpm's manpage.

RPM is simply a cpio archive with some additional voodoo. You can use
rpm2cpio, and then extract the cpio to your directory. There are a
couple examples of doing this in the centos wiki in the tips and
tricks section.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell