macOS
brew install cpiolocal Homebrew formula metadata
sudo port install cpioMacPorts ports tree · archivers/cpio/Portfile · 来源: api.github.com
安装
brew install cpiolocal Homebrew formula metadata
sudo port install cpioMacPorts ports tree · archivers/cpio/Portfile · 来源: api.github.com
sudo apk add cpioAlpine Linux edge package indexes · cpio · 来源: dl-cdn.alpinelinux.org
sudo dnf install cpioFedora Rawhide package metadata · cpio · 来源: dl.fedoraproject.org
nix profile install nixpkgs#cpionixpkgs package indexes · pkgs/by-name/cp/cpio/package.nix · 来源: api.github.com
sudo pacman -S cpioArch Linux sync databases · cpio · 来源: geo.mirror.pkgbuild.com
sudo zypper install cpioopenSUSE Tumbleweed package metadata · cpio · 来源: download.opensuse.org
winget install --id GnuWin32.Cpio -eWindows Package Manager source index · GnuWin32.Cpio · 来源: cdn.winget.microsoft.com
概览
Copies files into or out of a cpio or tar archive
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cpio | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnu.org/software/cpio/
安装元数据
| 软件包键 | brew:cpio |
|---|---|
| 版本 | 2.15 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cpio |
| 主页 | https://www.gnu.org/software/cpio/ |
| 仓库 | https://git.savannah.gnu.org/git/cpio.git |
| 上游文档 | https://www.gnu.org/software/cpio |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://ftpmirror.gnu.org/gnu/cpio/cpio-2.15.tar.bz2 |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.