Re: Slackware's 'explodepkg' equivalent for rpm?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Sep 14, 2008 at 9:19 AM, Ralph Angenendt <ra+centos@xxxxxxxxxxxx> wrote:
> Niki Kovacs 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.
>
> rpm2cpio foo.rpm | cpio -i --make-directories
>
> *DO NOT RUN THAT IN /*

I might also add: DO NOT RUN THIS AS ROOT. (just to be extra careful
about things)


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux