1rpm2cpio(1) User Commands rpm2cpio(1)
2
3
4
6 rpm2cpio - convert Red Hat Package (RPM) to cpio archive
7
9 rpm2cpio [file.rpm]
10
11
13 The rpm2cpio utility converts the .rpm file specified as its sole argu‐
14 ment to a cpio archive on standard output. (See NOTES.) If no argument
15 is given, an rpm stream is read from standard input. In both cases,
16 rpm2cpio will fail and print a usage message if the standard output is
17 a terminal. Therefore, the output is usually redirected to a file or
18 piped through the cpio(1) utility.
19
21 Example 1 Converting an rpm file
22
23 example% rpm2cpio Device3Dfx-1.1-2.src.rpm | cpio -itv
24 CPIO archive found!
25 -rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif
26 -rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
27 -rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
28 31 blocks
29
30
31
32 Example 2 Converting from standard input
33
34 example% rpm2cpio < Device3Dfx-1.1-2.src.rpm | cpio -itv
35 CPIO archive found!
36 -rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif
37 -rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
38 -rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
39 31 blocks
40
41
42
44 See attributes(5) for descriptions of the following attributes:
45
46
47
48
49 ┌─────────────────────────────┬─────────────────────────────┐
50 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
51 ├─────────────────────────────┼─────────────────────────────┤
52 │Availability │SUNWrpm │
53 └─────────────────────────────┴─────────────────────────────┘
54
56 cpio(1), attributes(5)
57
59 rpm2cpio handles versions 3 and 4 RPMs.
60
61
62
63SunOS 5.11 20 Aug 2001 rpm2cpio(1)