# 安装 p7zip

查看 p7zip 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install p7zip
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install p7zip
```

  证据: 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
```

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

- Nix (92%):

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

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

### Windows

- winget (92%):

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

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

## 软件包事实

- **软件包键:** brew:p7zip
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/p7zip>
- **版本:** 17.06
- **来源摘要:** 7-Zip (high compression file archiver) implementation
- **主页:** <https://github.com/p7zip-project/p7zip>
- **仓库:** <https://github.com/p7zip-project/p7zip>
- **许可证:** LGPL-2.1-or-later AND GPL-2.0-or-later
- **源码归档:** <https://github.com/p7zip-project/p7zip/archive/refs/tags/v17.06.tar.gz>
- **更新:** 2025-09-10T16:29:08Z
- **生成来源:** 2026-05-26T22:45:13+00:00

## 可执行文件

- 7z (cli)
- 7za (cli)
- 7zr (cli)
- 7z (别名)
- 7za (别名)
- 7zr (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 17.06
- 管理器更新时间: 2025-09-10
- 本地数据: ok
- 上游仓库: https://github.com/p7zip-project/p7zip
- 检测到的最新版本: v17.06 (current)
- notice: The package-manager record has not changed recently.

## 安全说明

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

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

## 相关链接

- [winetricks](https://www.automicvault.com/pkg/brew/winetricks/) - Popular package that depends on this formula.
- [binwalk](https://www.automicvault.com/pkg/brew/binwalk/) - Popular package that depends on this formula.
- [julia](https://www.automicvault.com/pkg/brew/julia/) - Popular package that depends on this formula.
- [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.
- [unp](https://www.automicvault.com/pkg/brew/unp/) - Popular package that depends on this formula.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
