libarchive

Install command:
brew install libarchive

Multi-format archive and compression library

https://www.libarchive.org

License: BSD-2-Clause

Development: Pull requests

Formula JSON API: /api/formula/libarchive.json

Formula code: libarchive.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 3.8.11

Keg-only because macOS already provides this software.

Depends on:

libb2 0.98.1 Secure hashing function
lz4 1.11.1 Extremely Fast Compression algorithm
xz 5.8.4 General-purpose data compression with high compression ratio
zstd 1.6.0 Zstandard is a real-time compression algorithm

Uses from macOS: bzip2, expat

Binaries: bsdcat, bsdcpio, bsdtar, bsdunzip

GitHub Packages downloads:

Last 30 days995,031
Downloads36,046,471
Analytics install events (30 days)49,328
Downloads / install events (30 days)20.2×

Source: GitHub Packages, fetched 2026-11-30T00:55:50Z. Analytics dates: 2026-10-31 to 2026-11-30. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs49,319107,185614,003
Installs (--HEAD)91346
Installs on Request2,6795,60731,995
Installs on Request (--HEAD)2630
Build Errors11