# 使用 Homebrew, apt 安装 pymupdf

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

## 安装

```sh
sudo av install brew:pymupdf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pymupdf
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install python3-fitz
```

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

## 软件包事实

- **软件包键:** brew:pymupdf
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/pymupdf>
- **版本:** 1.28.0
- **来源摘要:** Python bindings for the PDF toolkit and renderer MuPDF
- **主页:** <https://pymupdf.readthedocs.io/en/latest/>
- **上游文档:** <https://pymupdf.readthedocs.io/en/latest/>
- **许可证:** AGPL-3.0-only
- **源码归档:** <https://files.pythonhosted.org/packages/8e/e9/6d6c5d6c0a3551bffd47681a6240caf941727f195b45593cf20ab36f018f/pymupdf-1.28.0.tar.gz>
- **最后更新:** 2026-07-31T12:44:48Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- pymupdf (cli)
- pymupdf (别名)

## 依赖

- mupdf
- python@3.14

## 构建依赖

- freetype
- python-setuptools
- swig

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.28.0
- 管理器更新时间: 2026-07-31
- 本地数据: OK
- 上游仓库: https://pymupdf.readthedocs.io/en/latest/
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- Debian apt - python3-fitz - 1.25.4+ds1-3+deb13u1: normalized package name match | Debian stable package indexes: python3-fitz from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python binding for MuPDF (forward compatibility name) | https://github.com/pymupdf/PyMuPDF
- Debian apt - python3-pymupdf - 1.25.4+ds1-3+deb13u1: normalized package name match | Debian stable package indexes: python3-pymupdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python binding for MuPDF | https://github.com/pymupdf/PyMuPDF
- Ubuntu apt - python3-fitz - 1.23.7+ds1-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-fitz from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python binding for MuPDF | https://github.com/pymupdf/PyMuPDF


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [mupdf](https://pkg.so/zh-hans/brew/mupdf/) - Runtime dependency declared by Homebrew.
- [freetype](https://pkg.so/zh-hans/brew/freetype/) - Build dependency declared by Homebrew.
- [swig](https://pkg.so/zh-hans/brew/swig/) - Build dependency declared by Homebrew.
- [enex2notion](https://pkg.so/zh-hans/brew/enex2notion/) - Popular package that depends on this formula.
- [lue-reader](https://pkg.so/zh-hans/brew/lue-reader/) - Popular package that depends on this formula.
- [pdf.tocgen](https://pkg.so/zh-hans/brew/pdf-tocgen/) - Popular package that depends on this formula.
- [pango](https://pkg.so/zh-hans/brew/pango/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [libdeflate](https://pkg.so/zh-hans/brew/libdeflate/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [libdatrie](https://pkg.so/zh-hans/brew/libdatrie/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [nspr](https://pkg.so/zh-hans/brew/nspr/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [json-glib](https://pkg.so/zh-hans/brew/json-glib/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [protobuf-c](https://pkg.so/zh-hans/brew/protobuf-c/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [ossp-uuid](https://pkg.so/zh-hans/brew/ossp-uuid/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [pdftk-java](https://pkg.so/zh-hans/brew/pdftk-java/) - Shares pkgdb curated category or tags: cli, developer-tools, document-processing, pdf.
- [ktoblzcheck](https://pkg.so/zh-hans/brew/ktoblzcheck/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, libraries, library.
- [pdfsandwich](https://pkg.so/zh-hans/brew/pdfsandwich/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, document, document-processing.
- [pdftilecut](https://pkg.so/zh-hans/brew/pdftilecut/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, document, document-processing.

## Combined YAML source

View the package source record on GitHub. [combined/pymupdf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/pymupdf.yml)


## 来源

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