macOS
brew install libarchivelocal Homebrew formula metadata
sudo port install libarchiveMacPorts ports tree · archivers/libarchive/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libarchive pour les workflows d'agents IA.
installation
brew install libarchivelocal Homebrew formula metadata
sudo port install libarchiveMacPorts ports tree · archivers/libarchive/Portfile · Source: api.github.com
sudo apk add libarchiveAlpine Linux edge package indexes · libarchive · Source: dl-cdn.alpinelinux.org
sudo dnf install libarchiveFedora Rawhide package metadata · libarchive · Source: dl.fedoraproject.org
nix profile install nixpkgs#libarchivenixpkgs package indexes · pkgs/by-name/li/libarchive/package.nix · Source: api.github.com
sudo pacman -S libarchiveArch Linux sync databases · libarchive · Source: geo.mirror.pkgbuild.com
sudo apt install libarchive-devDebian stable package indexes · libarchive-dev · Source: deb.debian.org
sudo zypper install bsdtaropenSUSE Tumbleweed package metadata · bsdtar · Source: download.opensuse.org
aperçu
Multi-format archive and compression library
historique
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.
posture de sécurité
library-like package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
bsdcat | cli | exécutable global | |
bsdcpio | cli | exécutable global | |
bsdtar | cli | exécutable global | |
bsdunzip | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:libarchive |
|---|---|
| Version | 3.8.8 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/libarchive |
| Page d'accueil | https://www.libarchive.org |
| Dépôt | https://github.com/libarchive/libarchive |
| Docs amont | https://github.com/libarchive/libarchive/wiki |
| Licence | BSD-2-Clause |
| Archive source | https://www.libarchive.org/downloads/libarchive-3.8.8.tar.xz |
| Dernière mise à jour | 2026-06-24T06:11:28Z |
| Pulse | updated |
| Dépendances | libb2, lz4, xz, zstd |
| Bibliothèques fournies par macOS | bzip2, expat |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 bsdunzippiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.