cpio-2.5

Introduction to cpio

The cpio package contains tools for archiving.

Package information

Installation of cpio

Install cpio by running the following commands:

./configure --prefix=/usr --libexecdir=/tmp/cpio \
    --bindir=/bin &&
make &&
make install &&
rm -rf /tmp/cpio

Command explanations

--libexec=/tmp/cpio: This command installs rmt to /tmp/cpio so that it can be removed. The rmt executable is already installed by tar package in LFS.

--bindir=/bin: This command installs cpio to /bin instead of /usr/bin as per FHS guidelines.

Contents

The cpio package contains cpio and mt.

Description

cpio

cpio copies files to and from archives.

mt

mt controls magnetic tape drive operations.