Automic VaultAutomic Vault

brew

libarchive を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

libarchive のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install libarchive

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install libarchive

MacPorts ports tree · archivers/libarchive/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add libarchive

Alpine Linux edge package indexes · libarchive · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install libarchive

Fedora Rawhide package metadata · libarchive · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#libarchive

nixpkgs package indexes · pkgs/by-name/li/libarchive/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S libarchive

Arch Linux sync databases · libarchive · ソース: geo.mirror.pkgbuild.com

Debian apt確認済み · 92%
sudo apt install libarchive-dev

Debian stable package indexes · libarchive-dev · ソース: deb.debian.org

openSUSE zypper確認済み · 92%
sudo zypper install bsdtar

openSUSE Tumbleweed package metadata · bsdtar · ソース: download.opensuse.org

概要

パッケージ概要

Multi-format archive and compression library

コマンドとエイリアス

  • bsdcat
  • bsdcpio
  • bsdtar
  • bsdunzip

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2006: libarchive was first released.
  • 2011-12: libarchive 3.0 was released after nearly two years of development since 2.8.
  • 2016-04-30: libarchive 3.2.0 added bsdcat, LZ4, WARC, raw writer, and ZIP64-related features.
  • 2018-09-03: libarchive 3.3.3 included Zstandard read and write filters.
  • 2023-07-14: the project recorded a bsdunzip port from FreeBSD in NEWS.

Related projects

  • Related projects include FreeBSD tar and cpio tooling, GNU tar, Info-ZIP, zlib, bzip2, xz, lz4, zstd, archive-consuming package managers, and installers.

セキュリティ状態

リスクレベル: グリーン

library-like package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • library-like package without higher-risk signals

信号

  • metadata:library-like

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 4 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
bsdcatcliグローバル実行可能ファイル
bsdcpiocliグローバル実行可能ファイル
bsdtarcliグローバル実行可能ファイル
bsdunzipcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版3.8.8
マネージャ更新日2026-06-24
ローカルデータOK
上流not checked
検出された最新未検出

https://www.libarchive.org

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係libb2, lz4, xz, zstd
macOS 提供ライブラリbzip2, expat
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibarchive
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

libarchive-dev 3.7.4-4+deb13u1

Multi-format archive and compression library (development files)

https://www.libarchive.org/

sudo apt install libarchive-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libarchive
  • 10 依存関係
  • normalized package name match
  • 一致条件: Libarchive
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libarchive-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libarchive-tools 3.7.4-4+deb13u1

FreeBSD implementations of 'tar' and 'cpio' and other archive tools

https://www.libarchive.org/

sudo apt install libarchive-tools
  • Section: utils
  • Architecture: amd64
  • Source Package: libarchive
  • 2 依存関係
  • normalized package name match
  • 一致条件: Libarchive
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libarchive-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libarchive13t64 3.7.4-4+deb13u1

Multi-format archive and compression library (shared library)

https://www.libarchive.org/

sudo apt install libarchive13t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libarchive
  • 9 依存関係
  • 1 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Libarchive
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libarchive13t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libarchive

nix profile install nixpkgs#libarchive
  • normalized package name match
  • 一致条件: Libarchive
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libarchive/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libarchive-dev 3.7.2-2

Multi-format archive and compression library (development files)

https://www.libarchive.org/

sudo apt install libarchive-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libarchive
  • 10 依存関係
  • normalized package name match
  • 一致条件: Libarchive
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libarchive-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libarchive-tools 3.7.2-2

FreeBSD implementations of 'tar' and 'cpio' and other archive tools

https://www.libarchive.org/

sudo apt install libarchive-tools
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libarchive
  • 2 依存関係
  • normalized package name match
  • 一致条件: Libarchive
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libarchive-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libarchive13t64 3.7.2-2

Multi-format archive and compression library (shared library)

https://www.libarchive.org/

sudo apt install libarchive13t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libarchive
  • 9 依存関係
  • 1 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Libarchive
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libarchive13t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

libarchive 3.8.7-r0

library that can create and read several streaming archive formats

https://libarchive.org/

sudo apk add libarchive
  • License: BSD-2-Clause AND BSD-3-Clause AND Public-Domain
  • Architecture: x86_64
  • Source Package: libarchive
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libarchive
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libarchive from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libarchive-dev 3.8.7-r0

library that can create and read several streaming archive formats (development files)

https://libarchive.org/

sudo apk add libarchive-dev
  • License: BSD-2-Clause AND BSD-3-Clause AND Public-Domain
  • Architecture: x86_64
  • Source Package: libarchive
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libarchive
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libarchive-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libarchive-doc 3.8.7-r0

library that can create and read several streaming archive formats (documentation)

https://libarchive.org/

sudo apk add libarchive-doc
  • License: BSD-2-Clause AND BSD-3-Clause AND Public-Domain
  • Architecture: x86_64
  • Source Package: libarchive
  • normalized package name match
  • 一致条件: Libarchive
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libarchive-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libarchive-static 3.8.7-r0

library that can create and read several streaming archive formats (static library)

https://libarchive.org/

sudo apk add libarchive-static
  • License: BSD-2-Clause AND BSD-3-Clause AND Public-Domain
  • Architecture: x86_64
  • Source Package: libarchive
  • 1 依存関係
  • normalized package name match
  • 一致条件: Libarchive
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libarchive-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libarchive-tools 3.8.7-r0

libarchive tools bsdtar and bsdcpio

https://libarchive.org/

sudo apk add libarchive-tools
  • License: BSD-2-Clause AND BSD-3-Clause AND Public-Domain
  • Architecture: x86_64
  • Source Package: libarchive
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libarchive
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libarchive-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

bsdcat 3.8.7-1.fc45

Expand files to standard output

https://www.libarchive.org/

sudo dnf install bsdcat
  • License: BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libarchive
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libarchive
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bsdcat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

bsdcpio 3.8.7-1.fc45

Copy files to and from archives

https://www.libarchive.org/

sudo dnf install bsdcpio
  • License: BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libarchive
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libarchive
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bsdcpio from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

bsdtar 3.8.7-1.fc45

Manipulate tape archives

https://www.libarchive.org/

sudo dnf install bsdtar
  • License: BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libarchive
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libarchive
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bsdtar from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

bsdunzip 3.8.7-1.fc45

Extract files from a ZIP archive

https://www.libarchive.org/

sudo dnf install bsdunzip
  • License: BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libarchive
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libarchive
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bsdunzip from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment