linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RPM: how do i un-pack an rpm without installing ...
@ 2003-01-14  0:22 James Don
  2003-01-14  1:18 ` Mark Hatle
  0 siblings, 1 reply; 4+ messages in thread
From: James Don @ 2003-01-14  0:22 UTC (permalink / raw)
  To: linuxppc-embedded


Sorry,
Not really a topic for this group but ...

how do i un-pack an rpm without installing it?

Jim

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RPM: how do i un-pack an rpm without installing ...
  2003-01-14  0:22 RPM: how do i un-pack an rpm without installing James Don
@ 2003-01-14  1:18 ` Mark Hatle
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Hatle @ 2003-01-14  1:18 UTC (permalink / raw)
  To: James Don; +Cc: linuxppc-embedded


James Don wrote:
> Sorry,
> Not really a topic for this group but ...
>
> how do i un-pack an rpm without installing it?

Use "rpm2cpio" to produce a cpio archive, and then use cpio to extract it.

"rpm2cpio <rpm> | cpio -id" works for me.

--Mark


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: RPM: how do i un-pack an rpm without installing ...
@ 2003-01-14  7:32 Claus Gindhart
  0 siblings, 0 replies; 4+ messages in thread
From: Claus Gindhart @ 2003-01-14  7:32 UTC (permalink / raw)
  To: James Don; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 941 bytes --]

Or just use the attached script
(it is also based on rpm2cpio)

--
Mit freundlichen Gru?en / Best regards

Claus Gindhart
Software Design Engineer

PEP Modular Computers GmbH     phone:    +49-8341-803-374
R&D Software                   fax:      +49-8341-803-40-374
Sudetenstrasse 7               email:    claus.gindhart@kontron.com
D-87600 Kaufbeuren             web page: http://www.pep.de
                                         http://www.kontron.com


-----Original Message-----
From: Mark Hatle [mailto:fray@mvista.com]
Sent: Dienstag, 14. Januar 2003 02:19
To: James Don
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: RPM: how do i un-pack an rpm without installing ...



James Don wrote:
> Sorry,
> Not really a topic for this group but ...
>
> how do i un-pack an rpm without installing it?

Use "rpm2cpio" to produce a cpio archive, and then use cpio to extract it.

"rpm2cpio <rpm> | cpio -id" works for me.

--Mark




[-- Attachment #2: unpack_rpm --]
[-- Type: application/octet-stream, Size: 155 bytes --]

#!/bin/sh
# The purpose of this shell script is to unpack a
# source RPM package to the current directory
rpm2cpio $1 | cpio --extract --make-directories


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: RPM: how do i un-pack an rpm without installing ...
@ 2003-01-14 14:54 James Don
  0 siblings, 0 replies; 4+ messages in thread
From: James Don @ 2003-01-14 14:54 UTC (permalink / raw)
  To: 'Mark Hatle', James Don; +Cc: linuxppc-embedded


Thank you all ...

-----Original Message-----
From: Mark Hatle [mailto:fray@mvista.com]
Sent: Monday, January 13, 2003 8:19 PM
To: James Don
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: RPM: how do i un-pack an rpm without installing ...


James Don wrote:
> Sorry,
> Not really a topic for this group but ...
>
> how do i un-pack an rpm without installing it?

Use "rpm2cpio" to produce a cpio archive, and then use cpio to extract it.

"rpm2cpio <rpm> | cpio -id" works for me.

--Mark


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-14 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-14  0:22 RPM: how do i un-pack an rpm without installing James Don
2003-01-14  1:18 ` Mark Hatle
  -- strict thread matches above, loose matches on Subject: below --
2003-01-14  7:32 Claus Gindhart
2003-01-14 14:54 James Don

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).