macOS
brew install libarchivelocal Homebrew formula metadata
sudo port install libarchiveMacPorts ports tree · archivers/libarchive/Portfile · ソース: api.github.com
brew
libarchive のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install libarchivelocal Homebrew formula metadata
sudo port install libarchiveMacPorts ports tree · archivers/libarchive/Portfile · ソース: api.github.com
sudo apk add libarchiveAlpine Linux edge package indexes · libarchive · ソース: dl-cdn.alpinelinux.org
sudo dnf install libarchiveFedora Rawhide package metadata · libarchive · ソース: dl.fedoraproject.org
nix profile install nixpkgs#libarchivenixpkgs package indexes · pkgs/by-name/li/libarchive/package.nix · ソース: api.github.com
sudo pacman -S libarchiveArch Linux sync databases · libarchive · ソース: geo.mirror.pkgbuild.com
sudo apt install libarchive-devDebian stable package indexes · libarchive-dev · ソース: deb.debian.org
sudo zypper install bsdtaropenSUSE Tumbleweed package metadata · bsdtar · ソース: download.opensuse.org
概要
Multi-format archive and compression library
履歴
libarchive is a portable C library and command-line tool suite for reading and writing many archive formats. It ships bsdtar, bsdcpio, bsdcat, and bsdunzip, making it both a developer library and a practical Unix toolbox package.
The project began in the FreeBSD orbit and was first released in 2006, according to its own libarchive 3.0 transition notes. Its design emphasized streaming, automatic format detection, and a single API that could handle tar, cpio, zip, ISO images, compression filters, and later many more formats.
libarchive spread widely because packaging systems, installers, build tools, and OS utilities all need to unpack archives without shelling out to a pile of format-specific programs. Its bsdtar and bsdcpio utilities became FreeBSD-associated alternatives to GNU tar and cpio, while the library itself was packaged across Linux, macOS, BSD, and Windows-oriented environments.
Applications link libarchive to read and write archives through one API, while users run bsdtar, bsdcpio, bsdcat, or bsdunzip. The project site emphasizes automatic handling of archive-plus-compression combinations such as tar.gz and support for POSIX-like systems plus Windows.
libarchive is one of those packages that quietly makes package managers work. Its importance is in boring reliability: many archive formats, many platforms, a test suite, and CLI tools that can replace multiple single-format utilities.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
bsdcat | cli | グローバル実行可能ファイル | |
bsdcpio | cli | グローバル実行可能ファイル | |
bsdtar | cli | グローバル実行可能ファイル | |
bsdunzip | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:libarchive |
|---|---|
| バージョン | 3.8.8 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/libarchive |
| ホームページ | https://www.libarchive.org |
| リポジトリ | https://github.com/libarchive/libarchive |
| 上流ドキュメント | https://github.com/libarchive/libarchive/wiki |
| ライセンス | BSD-2-Clause |
| ソースアーカイブ | https://www.libarchive.org/downloads/libarchive-3.8.8.tar.xz |
| 最終更新 | 2026-06-24T06:11:28Z |
| Pulse | updated |
| 依存関係 | libb2, lz4, xz, zstd |
| macOS 提供ライブラリ | bzip2, expat |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libarchive |
| 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 パッケージリンクとは分けて表示されます。
libarchive-dev 3.7.4-4+deb13u1
Multi-format archive and compression library (development files)
sudo apt install libarchive-devlibarchive-tools 3.7.4-4+deb13u1
FreeBSD implementations of 'tar' and 'cpio' and other archive tools
sudo apt install libarchive-toolslibarchive13t64 3.7.4-4+deb13u1
Multi-format archive and compression library (shared library)
sudo apt install libarchive13t64libarchive
nix profile install nixpkgs#libarchivelibarchive-dev 3.7.2-2
Multi-format archive and compression library (development files)
sudo apt install libarchive-devlibarchive-tools 3.7.2-2
FreeBSD implementations of 'tar' and 'cpio' and other archive tools
sudo apt install libarchive-toolslibarchive13t64 3.7.2-2
Multi-format archive and compression library (shared library)
sudo apt install libarchive13t64libarchive 3.8.7-r0
library that can create and read several streaming archive formats
sudo apk add libarchivelibarchive-dev 3.8.7-r0
library that can create and read several streaming archive formats (development files)
sudo apk add libarchive-devlibarchive-doc 3.8.7-r0
library that can create and read several streaming archive formats (documentation)
sudo apk add libarchive-doclibarchive-static 3.8.7-r0
library that can create and read several streaming archive formats (static library)
sudo apk add libarchive-staticlibarchive-tools 3.8.7-r0
libarchive tools bsdtar and bsdcpio
sudo apk add libarchive-toolsbsdcat 3.8.7-1.fc45
Expand files to standard output
sudo dnf install bsdcatbsdcpio 3.8.7-1.fc45
Copy files to and from archives
sudo dnf install bsdcpiobsdtar 3.8.7-1.fc45
Manipulate tape archives
sudo dnf install bsdtarbsdunzip 3.8.7-1.fc45
Extract files from a ZIP archive
sudo dnf install bsdunzipソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.