macOS
brew install libarchivelocal Homebrew formula metadata
sudo port install libarchiveMacPorts ports tree · archivers/libarchive/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libarchive in AI-Agent-Workflows.
Installation
brew install libarchivelocal Homebrew formula metadata
sudo port install libarchiveMacPorts ports tree · archivers/libarchive/Portfile · Quelle: api.github.com
sudo apk add libarchiveAlpine Linux edge package indexes · libarchive · Quelle: dl-cdn.alpinelinux.org
sudo dnf install libarchiveFedora Rawhide package metadata · libarchive · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#libarchivenixpkgs package indexes · pkgs/by-name/li/libarchive/package.nix · Quelle: api.github.com
sudo pacman -S libarchiveArch Linux sync databases · libarchive · Quelle: geo.mirror.pkgbuild.com
sudo apt install libarchive-devDebian stable package indexes · libarchive-dev · Quelle: deb.debian.org
sudo zypper install bsdtaropenSUSE Tumbleweed package metadata · bsdtar · Quelle: download.opensuse.org
Überblick
Multi-format archive and compression library
Verlauf
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.
Sicherheitslage
library-like package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
bsdcat | cli | globales Executable | |
bsdcpio | cli | globales Executable | |
bsdtar | cli | globales Executable | |
bsdunzip | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:libarchive |
|---|---|
| Version | 3.8.8 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/libarchive |
| Homepage | https://www.libarchive.org |
| Repository | https://github.com/libarchive/libarchive |
| Upstream-Dokumentation | https://github.com/libarchive/libarchive/wiki |
| Lizenz | BSD-2-Clause |
| Quellarchiv | https://www.libarchive.org/downloads/libarchive-3.8.8.tar.xz |
| Zuletzt aktualisiert | 2026-06-24T06:11:28Z |
| Pulse | updated |
| Abhängigkeiten | libb2, lz4, xz, zstd |
| Von macOS bereitgestellte Bibliotheken | bzip2, expat |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 bsdunzipQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.