🍺 BREW Explorer

← all formulae

p7zip

brew install p7zip v17.06 LGPL-2.1-or-later AND GPL-2.0-or-later

C++ implementation of 7-Zip archiver with support for modern codecs (Zstd, Brotli, LZ4, LZMA2) on Unix-like systems.

Why you might care

p7zip brings the high-compression 7z format to Unix/Linux with modern codec support beyond the original. Use it if you need better compression ratios than gzip/bzip2, want multithreaded compression with Zstd or Brotli, or need to work with .7z archives on macOS/Linux. It's a Unix-native alternative to the Windows-centric 7-Zip.

Categories

Alternatives

7zip xz bzip2 gzip zstd
12.8k
30-day installs · #316
37.2k
90-day · #332
128.8k
365-day · #364
943
★ GitHub stars · updated 1y ago

GitHub topics

7zip archive brotli compression fastlzma2 lizard lz4 lz5 lzham lzma lzma2 p7zip zstd

Links

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

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "7zip",
    "xz",
    "bzip2",
    "gzip",
    "zstd"
  ],
  "build_dependencies": [],
  "categories": [
    "archiver",
    "compression"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "7-Zip (high compression file archiver) implementation",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:48+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "p7zip",
  "github_default_branch": "master",
  "github_last_commit_at": "2025-05-20T11:31:27Z",
  "github_readme_excerpt": "# p7zip-zstd\nThe original intention of p7zip is to make 7z run on unix-like systems. The latest [7zip] already supports unix systems, so the new version of this project is not just a derivative of p7zip. It is also a derivative of 7zip. To distinguish it from the 7zip project, I decided to use p7zip-zstd to name the new version (since this project is also a derivative of the [7-Zip-zstd] project). Thanks to Igor Pavlov, author of 7zip, and Tino Reichardt, author of 7-Zip-zstd. and all 7zip community contributors and users.\n\n# 7zz with extension method\nThis is the place for 7zz (Well known as 7zip-22.00 Linux version) to include major modern codecs such as Brotli, Fast LZMA2, LZ4, LZ5, Lizard and Zstd. In order to support multithreading for those addional codecs, this project depends on the [Multithreading Library](https://github.com/mcmilk/zstdmt).\n\n## Codec overview\n1. [Zstandard] v1.5.2 is a real-time compression algorithm, providing high compression ratios. It offers a very wide range of compression / speed trade-off, while being backed by a very fast decoder.\n   - Levels: 1..22\n\n2. [LZ4] v1.9.3 is lossless compression algorithm, providing compression speed at 400 MB/s per core (0.16 Bytes/cycle). It features an extremely fast decoder, with speed in multiple GB/s per core (0.71 Bytes/cycle). A high compression derivative, called LZ4_HC, is available, trading customizable CPU time for compression ratio.\n   - Levels: 1..12\n\n3. [Fast LZMA2] v1.0.1 is a LZMA2 compression algorithm, 20% to 100% faster than normal LZMA2 at levels 5 and above, but with a slightly lower compression ratio. It uses a parallel buffered radix matchfinder and some optimizations from Zstandard. The codec uses much less additional memory per thread than standard LZMA2.\n   - Levels: 1..9\n\n4. [Brotli] v1.0.9 is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a c",
  "github_repo": "p7zip-project/p7zip",
  "github_stars": 943,
  "github_topics": [
    "7zip",
    "archive",
    "brotli",
    "compression",
    "fastlzma2",
    "lizard",
    "lz4",
    "lz5",
    "lzham",
    "lzma",
    "lzma2",
    "p7zip",
    "zstd"
  ],
  "homepage": "https://github.com/p7zip-project/p7zip",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 12803,
  "installs_365d": 128799,
  "installs_90d": 37234,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "LGPL-2.1-or-later AND GPL-2.0-or-later",
  "llm_generated_at": "2026-06-20T23:44:06+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "p7zip",
  "oldnames": [],
  "one_liner": "C++ implementation of 7-Zip archiver with support for modern codecs (Zstd, Brotli, LZ4, LZMA2) on Unix-like systems.",
  "optional_dependencies": [],
  "rank_30d": 316,
  "rank_365d": 364,
  "rank_90d": 332,
  "raw_hash": "188689a0a4cf3f12",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/p/p7zip.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "17.06",
  "versioned_formulae": [],
  "why_use_this": "p7zip brings the high-compression 7z format to Unix/Linux with modern codec support beyond the original. Use it if you need better compression ratios than gzip/bzip2, want multithreaded compression with Zstd or Brotli, or need to work with .7z archives on macOS/Linux. It\u0027s a Unix-native alternative to the Windows-centric 7-Zip."
}