🍺 BREW Explorer

← all formulae

libarchive

brew install libarchive v3.8.7 BSD-2-Clause keg-only

C library and CLI tools for reading and writing tar, cpio, zip, ISO, and other archive formats.

Why you might care

libarchive is the de facto standard for cross-platform archive handling; it's faster and more format-comprehensive than many language standard libraries. Homebrew's own formula management depends on it, and it's keg-only because macOS ships a version—use this if you need newer features, better performance, or explicit control over compression backends (libb2, lz4, xz, zstd).

Categories

Alternatives

tar zip 7z bsdtar
37.1k
30-day installs · #166
141.1k
90-day · #149
709.8k
365-day · #93

Runtime dependencies

Links

Keg-only reason

:provided_by_macos

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "tar",
    "zip",
    "7z",
    "bsdtar"
  ],
  "build_dependencies": [],
  "categories": [
    "library",
    "archiver",
    "compression"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "libb2",
    "lz4",
    "xz",
    "zstd"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Multi-format archive and compression library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:42+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "libarchive",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://www.libarchive.org",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "libarchive - C library and command-line tools for reading and writing tar, cpio, zip, ISO, and other archive formats @ GitHub",
  "installs_30d": 37145,
  "installs_365d": 709800,
  "installs_90d": 141107,
  "keg_only": 1,
  "keg_only_reason": ":provided_by_macos",
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-2-Clause",
  "llm_generated_at": "2026-06-20T23:43:10+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "libarchive",
  "oldnames": [],
  "one_liner": "C library and CLI tools for reading and writing tar, cpio, zip, ISO, and other archive formats.",
  "optional_dependencies": [],
  "rank_30d": 166,
  "rank_365d": 93,
  "rank_90d": 149,
  "raw_hash": "6667c0f806b8a2bd",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/lib/libarchive.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "bzip2",
    "expat"
  ],
  "version_head": null,
  "version_stable": "3.8.7",
  "versioned_formulae": [],
  "why_use_this": "libarchive is the de facto standard for cross-platform archive handling; it\u0027s faster and more format-comprehensive than many language standard libraries. Homebrew\u0027s own formula management depends on it, and it\u0027s keg-only because macOS ships a version\u2014use this if you need newer features, better performance, or explicit control over compression backends (libb2, lz4, xz, zstd)."
}