rpmextract-1.0

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 3. General Utilities

- Prev

  OSTree-2025.7

- Next

  scdoc-1.11.4

- Up
- Home

# rpmextract-1.0

## Introduction to rpmextract

The rpmextract package provides tools for extracting `.rpm` files.

### rpmextract Dependencies

#### Required

libarchive

## Downloading rpmextract

To download the rpmextract files with wget, run the following instructions:

    mkdir rpmextract-1.0 &&
    cd    rpmextract-1.0 &&
    for i in {rpm2cpio,rpmextract.sh}; do
      echo $i | wget -i- -c \
        -B https://gitlab.archlinux.org/archlinux/packaging/packages/rpmextract/-/raw/main/
    done

## Installation of rpmextract

Install rpmextract by executing the following commands as the `root` user:

    install -vDm755 rpm2cpio rpmextract.sh -t /usr/bin/ &&
    ln -sfv rpmextract.sh /usr/bin/rpmextract

## Contents

Installed Programs: rpm2cpio, rpmextract (link to rpmextract.sh), and rpmextract.sh
Installed Libraries: None
Installed Directories: None

### Short Descriptions

rpm2cpio | converts an RPM file to a CPIO archive
rpmextract | symlink pointing to rpmextract.sh
rpmextract.sh | extracts RPM files

- Prev

  OSTree-2025.7

- Next

  scdoc-1.11.4

- Up
- Home