# Install p7zip with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper, winget

7-Zip (high compression file archiver) implementation. Version 17.06 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:p7zip
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install p7zip
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install p7zip
```

  Evidence: MacPorts ports tree: archivers/p7zip/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install p7zip
```

  Evidence: Debian stable package indexes: p7zip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install 7zip-standalone
```

  Evidence: Fedora Rawhide package metadata: 7zip-standalone from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#p7zip
```

  Evidence: nixpkgs package indexes: pkgs/by-name/p7/p7zip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S 7zip
```

  Evidence: Arch Linux sync databases: 7zip from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install 7zip
```

  Evidence: openSUSE Tumbleweed package metadata: 7zip from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id 7zip.7zr -e
```

  Evidence: Windows Package Manager source index: 7zip.7zr from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:p7zip
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/p7zip>
- **Version:** 17.06
- **Source summary:** 7-Zip (high compression file archiver) implementation
- **Homepage:** <https://github.com/p7zip-project/p7zip>
- **Repository:** <https://github.com/p7zip-project/p7zip>
- **Upstream docs:** <https://github.com/p7zip-project/p7zip#readme>
- **License:** LGPL-2.1-or-later AND GPL-2.0-or-later
- **Source archive:** <https://github.com/p7zip-project/p7zip/archive/refs/tags/v17.06.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- 7z (cli)
- 7za (cli)
- 7zr (cli)
- 7z (alias)
- 7za (alias)
- 7zr (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 17.06
- Local data: ok
- Upstream repository: https://github.com/p7zip-project/p7zip
- Upstream latest detected: v17.06 (current)
- info: No package-manager update timestamp was available.

## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** p7zip
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - p7zip - 16.02+transitional.1: normalized package name match | Debian stable package indexes: p7zip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional package | https://7-zip.org/
- Debian apt - p7zip-full - 16.02+transitional.1: normalized package name match | Debian stable package indexes: p7zip-full from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional package | https://7-zip.org/
- Nix - p7zip: normalized package name match | nixpkgs package indexes: pkgs/by-name/p7/p7zip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - p7zip - 16.02+transitional.1: normalized package name match | Ubuntu 24.04 LTS package indexes: p7zip from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | transitional package | https://7-zip.org/
- Ubuntu apt - p7zip-full - 16.02+transitional.1: normalized package name match | Ubuntu 24.04 LTS package indexes: p7zip-full from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | transitional package | https://7-zip.org/
- dnf - 7zip-standalone - 25.01-5.fc45: normalized package name match | Fedora Rawhide package metadata: 7zip-standalone from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Standalone version of 7-Zip console that supports only some formats | https://7-zip.org
- pacman - 7zip - 26.01-1: normalized package name match | Arch Linux sync databases: 7zip from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | File archiver for extremely high compression | https://www.7-zip.org
- zypper - 7zip - 26.01-1.1: normalized package name match | openSUSE Tumbleweed package metadata: 7zip from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Command-line file archiver with high compression ratio | https://www.7-zip.org/
- MacPorts - p7zip: normalized package name match | MacPorts ports tree: archivers/p7zip/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - 7zip.7zr: installed executable or alias match | Windows Package Manager source index: 7zip.7zr from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [datalad](https://www.automicvault.com/pkg/brew/datalad/) - Popular package that depends on this formula.
- [dtrx](https://www.automicvault.com/pkg/brew/dtrx/) - Popular package that depends on this formula.
- [julia](https://www.automicvault.com/pkg/brew/julia/) - Popular package that depends on this formula.
- [unp](https://www.automicvault.com/pkg/brew/unp/) - Popular package that depends on this formula.
- [winetricks](https://www.automicvault.com/pkg/brew/winetricks/) - Popular package that depends on this formula.
- [cpio](https://www.automicvault.com/pkg/brew/cpio/) - Shares av.db curated category or tags: archive, archiving, cli, system.
- [dar](https://www.automicvault.com/pkg/brew/dar/) - Shares av.db curated category or tags: archiving, cli, compression, system.
- [sevenzip](https://www.automicvault.com/pkg/brew/sevenzip/) - Shares av.db curated category or tags: archiving, cli, compression, system.
- [tarlz](https://www.automicvault.com/pkg/brew/tarlz/) - Shares av.db curated category or tags: archiving, cli, compression, system.
- [unar](https://www.automicvault.com/pkg/brew/unar/) - Shares av.db curated category or tags: archive, cli, compression, file-utilities, system.
- [borgbackup](https://www.automicvault.com/pkg/brew/borgbackup/) - Shares av.db curated category or tags: archive, cli, compression, system.
- [clzip](https://www.automicvault.com/pkg/brew/clzip/) - Shares av.db curated category or tags: archive, cli, compression, system.
- [squashfs](https://www.automicvault.com/pkg/brew/squashfs/) - Local package facts share a topical domain. Shared terms: archive, cli, compression, file, system.
- [dwarfs](https://www.automicvault.com/pkg/brew/dwarfs/) - Local package facts share a topical domain. Shared terms: cli, compression, file, high, system.

## Combined YAML source

View the package source record on GitHub. [combined/p7zip.yml](https://github.com/automic-vault/db/blob/main/combined/p7zip.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
