macOS
brew install cpiolocal Homebrew formula metadata
sudo port install cpioMacPorts ports tree · archivers/cpio/Portfile · source: api.github.com
brew
Copies files into or out of a cpio or tar archive. Version 2.15 via Homebrew; verified from local package data.
install
brew install cpiolocal Homebrew formula metadata
sudo port install cpioMacPorts ports tree · archivers/cpio/Portfile · source: api.github.com
sudo apk add cpioAlpine Linux edge package indexes · cpio · source: dl-cdn.alpinelinux.org
sudo apt install cpioDebian stable package indexes · cpio · source: deb.debian.org
sudo dnf install cpioFedora Rawhide package metadata · cpio · source: dl.fedoraproject.org
nix profile install nixpkgs#cpionixpkgs package indexes · pkgs/by-name/cp/cpio/package.nix · source: api.github.com
sudo pacman -S cpioArch Linux sync databases · cpio · source: geo.mirror.pkgbuild.com
sudo zypper install cpioopenSUSE Tumbleweed package metadata · cpio · source: download.opensuse.org
winget install --id GnuWin32.Cpio -eWindows Package Manager source index · GnuWin32.Cpio · source: cdn.winget.microsoft.com
overview
Copies files into or out of a cpio or tar archive
history
GNU cpio is the GNU implementation of the classic copy-in/copy-out archiver. It copies files between directories and archives, including cpio formats and tar formats, and remains a small but important Unix packaging and recovery tool.
GNU cpio's manual is published by the Free Software Foundation and documents the program as a tool for creating and extracting archives or copying directory trees. The manual credits Robert Carleton and Sergey Poznyakoff, and the current GNU source package includes documentation maintained through the 2.15 release.
The GNU package history visible in NEWS shows long-running maintenance around archive-format compatibility, large-file support, security fixes, reproducible archive options, and portability fixes. Version 2.0 added SVR4 cpio formats and traditional/POSIX tar archive support; later releases added sparse handling, GPLv3 licensing, reproducible archive support, and security fixes.
The supplied package facts list GNU cpio across common Unix-like package managers, including Debian, Ubuntu, Fedora/dnf, Alpine/apk, Arch/pacman, openSUSE/zypper, Nix, MacPorts, Homebrew, and a GnuWin32 package. That breadth matches cpio's role as a standard archive utility rather than an application-level tool.
GNU cpio has three primary modes: copy-out to create archives from file lists, copy-in to extract archives, and copy-pass to copy directory trees. The manual emphasizes pipelines with find or ls, archive media such as disk files, tapes, and pipes, and compatibility with multiple cpio and tar formats.
Package maintainers care about cpio because it is both a user-facing archive command and an old archive format that still appears in build systems, initramfs tooling, backups, and historical Unix data. GNU cpio's NEWS also matters to distributors because it records CVE fixes, reproducibility options, and large-file behavior changes.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cpio | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.gnu.org/software/cpio/
install metadata
| Package key | brew:cpio |
|---|---|
| Version | 2.15 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cpio |
| Homepage | https://www.gnu.org/software/cpio/ |
| Repository | https://git.savannah.gnu.org/git/cpio.git |
| Upstream docs | https://www.gnu.org/software/cpio |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/cpio/cpio-2.15.tar.bz2 |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cpio |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cpio 2.15+dfsg-2
GNU cpio -- a program to manage archives of files
https://www.gnu.org/software/cpio/
sudo apt install cpiocpio
nix profile install nixpkgs#cpiocpio 2.15+dfsg-1ubuntu2
GNU cpio -- a program to manage archives of files
https://www.gnu.org/software/cpio/
sudo apt install cpiocpio 2.15-r0
tool to copy files into or out of a cpio or tar archive
https://www.gnu.org/software/cpio
sudo apk add cpiocpio-doc 2.15-r0
tool to copy files into or out of a cpio or tar archive (documentation)
https://www.gnu.org/software/cpio
sudo apk add cpio-doccpio 2.15-9.fc44
A GNU archiving program
https://www.gnu.org/software/cpio/
sudo dnf install cpiocpio 2.15-3
A tool to copy files into or out of a cpio or tar archive
https://www.gnu.org/software/cpio
sudo pacman -S cpiocpio 2.15-7.2
A Backup and Archiving Utility
https://www.gnu.org/software/cpio/cpio.html
sudo zypper install cpiocpio-lang 2.15-7.2
Translations for package cpio
https://www.gnu.org/software/cpio/cpio.html
sudo zypper install cpio-langcpio-mt 2.15-7.2
Tape drive control utility
https://www.gnu.org/software/cpio/cpio.html
sudo zypper install cpio-mtcpio
sudo port install cpioGnuWin32.Cpio
winget install --id GnuWin32.Cpio -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.