| 1 |
.\" Generated by scdoc 1.11.4 |
| 2 |
.\" Complete documentation for this program is not available as a GNU info page |
| 3 |
.ie \n(.g .ds Aq \(aq |
| 4 |
.el .ds Aq ' |
| 5 |
.nh |
| 6 |
.ad l |
| 7 |
.\" Begin generated content: |
| 8 |
.TH "RPM2CPIO" "1" "2026-04-10" "RPM 6.0.1" |
| 9 |
.PP |
| 10 |
.SH NAME |
| 11 |
rpm2cpio - Extract cpio archive from RPM Package Manager (RPM) package |
| 12 |
.PP |
| 13 |
.SH SYNOPSIS |
| 14 |
\fBrpm2cpio\fR \fIPACKAGE_FILE\fR |
| 15 |
.PP |
| 16 |
\fBrpm2cpio -\fR |
| 17 |
.PP |
| 18 |
.SH DESCRIPTION |
| 19 |
\fBrpm2cpio\fR converts the specified \fBrpm\fR package to a \fBcpio\fR(1) archive |
| 20 |
on the standard output.\& |
| 21 |
.PP |
| 22 |
\fBNote:\fR the \fBcpio\fR(5) format cannot host individual files over 4GB in size, |
| 23 |
and so this tool is considered obsolete.\& Use \fBrpm2archive\fR(1) instead.\& |
| 24 |
.PP |
| 25 |
.SH ARGUMENTS |
| 26 |
\fIPACKAGE_FILE\fR |
| 27 |
.RS 4 |
| 28 |
A binary or source RPM package.\& |
| 29 |
.PP |
| 30 |
.RE |
| 31 |
If dash (\fB-\fR) is given as the argument, data is read from the standard input.\& |
| 32 |
.PP |
| 33 |
.SH EXIT STATUS |
| 34 |
On success, 0 is returned, a nonzero failure code otherwise.\& |
| 35 |
.PP |
| 36 |
.SH EXAMPLES |
| 37 |
\fBrpm2cpio glint-1.\&0-1.\&i386.\&rpm | cpio -dium\fR |
| 38 |
.RS 4 |
| 39 |
Extract \fIglint-1.\&0-1.\&i386.\&rpm\fR contents relative to current |
| 40 |
directory.\& |
| 41 |
.PP |
| 42 |
.RE |
| 43 |
\fBcat glint-1.\&0-1.\&i386.\&rpm | rpm2cpio - | cpio -tv\fR |
| 44 |
.RS 4 |
| 45 |
View \fIglint-1.\&0-1.\&i386.\&rpm\fR file list with \fBcpio\fR(1).\& |
| 46 |
.PP |
| 47 |
.RE |
| 48 |
.SH SEE ALSO |
| 49 |
\fBcpio\fR(1), \fBrpm\fR(8), \fBrpm2archive\fR(1) |