libarchive
brew install libarchiveMulti-format archive and compression library
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.5.7 | Zstandard is a real-time compression algorithm |
Uses from macOS: bzip2, expat
Binaries:
bsdcat,
bsdcpio,
bsdtar,
bsdunzip
GitHub Packages downloads:
| Last 30 days | 1,055,547 |
|---|---|
| Downloads | 35,423,606 |
| Analytics install events (30 days) | 59,641 |
| Downloads / install events (30 days) | 17.7× |
Source: GitHub Packages, fetched 2026-11-10T00:48:03Z. Analytics dates: 2026-10-11 to 2026-11-10. 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 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 59,635 | 104,551 | 646,707 |
Installs (--HEAD) | 6 | 8 | 46 |
| Installs on Request | 3,686 | 5,463 | 33,795 |
Installs on Request (--HEAD) | 4 | 6 | 35 |
| Build Errors | 15 |