# Install pymupdf with Homebrew, apt

Python bindings for the PDF toolkit and renderer MuPDF. Version 1.28.0 via Homebrew; verified 2026-07-31. Also installable with debian: sudo apt install python3-fitz.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install pymupdf
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

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

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

## Package facts

- **Package key:** brew:pymupdf
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/pymupdf>
- **Version:** 1.28.0
- **Source summary:** Python bindings for the PDF toolkit and renderer MuPDF
- **Homepage:** <https://pymupdf.readthedocs.io/en/latest/>
- **Upstream docs:** <https://pymupdf.readthedocs.io/en/latest/>
- **License:** AGPL-3.0-only
- **Source archive:** <https://files.pythonhosted.org/packages/8e/e9/6d6c5d6c0a3551bffd47681a6240caf941727f195b45593cf20ab36f018f/pymupdf-1.28.0.tar.gz>
- **Last updated:** 2026-07-31T12:44:48Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- pymupdf (cli)
- pymupdf (alias)

## Dependencies

- mupdf
- python@3.14

## Build dependencies

- freetype
- python-setuptools
- swig

## Install behavior

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

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.28.0
- Package-manager updated: 2026-07-31
- Local data: ok
- Upstream repository: https://pymupdf.readthedocs.io/en/latest/
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

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


## Sources

- 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
