# Install mupdf with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, zypper, winget

Lightweight PDF and XPS viewer. Version 1.28.0 via Homebrew; verified 2026-06-27.

## Install

```sh
sudo av install brew:mupdf
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mupdf
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mupdf
```

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

### Linux

- apk (92%):

```sh
sudo apk add mupdf
```

  Evidence: Alpine Linux edge package indexes: mupdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libmupdf-dev
```

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

- dnf (92%):

```sh
sudo dnf install mupdf
```

  Evidence: Fedora Rawhide package metadata: mupdf 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#mupdf
```

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

- pacman (92%):

```sh
sudo pacman -S mupdf
```

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

- zypper (92%):

```sh
sudo zypper install mupdf
```

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

### Windows

- Chocolatey (92%):

```sh
choco install mupdf
```

  Evidence: Chocolatey community package catalog: mupdf from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='8.1972','png2ico'

- Scoop (92%):

```sh
scoop install extras/mupdf
```

  Evidence: Scoop official bucket manifest trees: bucket/mupdf.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id ArtifexSoftware.mutool -e
```

  Evidence: Windows Package Manager source index: ArtifexSoftware.mutool from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:mupdf
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mupdf>
- **Version:** 1.28.0
- **Source summary:** Lightweight PDF and XPS viewer
- **Homepage:** <https://mupdf.com/>
- **Repository:** <https://github.com/ArtifexSoftware/mupdf>
- **Upstream docs:** <https://mupdf.com/docs>
- **License:** AGPL-3.0-or-later
- **Source archive:** <https://mupdf.com/downloads/archive/mupdf-1.28.0-source.tar.gz>
- **Last updated:** 2026-06-27T15:38:04Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mudraw (cli)
- mupdf-gl (cli)
- mupdf-x11 (cli)
- mutool (cli)
- mudraw (alias)
- mupdf-gl (alias)
- mupdf-x11 (alias)
- mutool (alias)

## Dependencies

- brotli
- freetype
- gumbo-parser
- harfbuzz
- jbig2dec
- jpeg-turbo
- leptonica
- libarchive
- openjpeg
- openssl@3
- python@3.14
- tesseract

## Build dependencies

- llvm@21
- pkgconf
- 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-07-08
- Package-manager version: 1.28.0
- Package-manager updated: 2026-06-27
- Local data: ok
- Upstream repository: https://mupdf.com/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

MuPDF is a lightweight open-source document framework developed by Artifex Software and written in C for viewing, converting, and manipulating PDF, XPS, and e-book documents. Historical accounts trace the project to Tor Andersson's work on a PDF renderer in 2002, followed by Artifex's acquisition of the project and the development of Fitz, the graphics library that became MuPDF's rendering core. The first Fitz-based MuPDF release appeared in 2005, and the GitHub project copyright notice covers Artifex's stewardship from 2006 onward.

### Project history

The project became known for speed, small code size, and high-quality anti-aliased rendering. Its scope grew from a minimal PDF viewer and renderer into a document toolkit with viewers for multiple platforms, command-line tools, and embeddable libraries. MuPDF's documented format support includes PDF, XPS/OpenXPS, EPUB, MOBI, FB2, comic-book archives, common images, and limited SVG, while its toolchain handles rendering, conversion, extraction, inspection, cleaning, and scripting.

### How it is used

MuPDF's ecosystem role sits between desktop viewers, embedded renderers, and developer SDKs. SumatraPDF documents MuPDF as the library it uses to parse and render PDF files, and Artifex markets MuPDF Core, PyMuPDF, MuPDF.js, and MuPDF.NET as related products around the same engine family. In package managers, brew:mupdf is the full viewer/toolkit formula, while mupdf-tools-style packages expose only the CLI utilities for automation-heavy systems.

### Sources

- <https://artifex.com/blog/mupdfjs-with-npm>
- <https://en.wikipedia.org/wiki/MuPDF>
- <https://formulae.brew.sh/formula/mupdf>
- <https://github.com/ArtifexSoftware/mupdf>
- <https://mupdf.com/>
- <https://mupdf.readthedocs.io/en/1.27.1/guide/what-is-mupdf.html>
- <https://mupdf.readthedocs.io/en/latest/tools/mutool.html>
- <https://www.sumatrapdfreader.org/docs/Contribute-to-SumatraPDF>


## Security Notes

No matching local secret-handling manifest was found for mupdf. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libmupdf-dev - 1.25.1+ds1-6+deb13u1: normalized package name match | Debian stable package indexes: libmupdf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for the MuPDF viewer | https://mupdf.com/
- Debian apt - libmupdf25.1 - 1.25.1+ds1-6+deb13u1: normalized package name match | Debian stable package indexes: libmupdf25.1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared library for the MuPDF viewer | https://mupdf.com/
- Debian apt - mupdf - 1.25.1+ds1-6+deb13u1: normalized package name match | Debian stable package indexes: mupdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight PDF viewer | https://mupdf.com/
- Debian apt - mupdf-tools - 1.25.1+ds1-6+deb13u1: normalized package name match | Debian stable package indexes: mupdf-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command line tools for the MuPDF viewer | https://mupdf.com/
- Debian apt - python3-mupdf - 1.25.1+ds1-6+deb13u1: normalized package name match | Debian stable package indexes: python3-mupdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python bindings for MuPDF library | https://mupdf.com/
- Nix - mupdf: normalized package name match | nixpkgs package indexes: pkgs/by-name/mu/mupdf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmupdf-dev - 1.23.10+ds1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmupdf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for the MuPDF viewer | https://mupdf.com/
- Ubuntu apt - mupdf - 1.23.10+ds1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: mupdf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lightweight PDF viewer | https://mupdf.com/
- Ubuntu apt - mupdf-tools - 1.23.10+ds1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: mupdf-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command line tools for the MuPDF viewer | https://mupdf.com/
- apk - mupdf - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer | https://mupdf.com
- apk - mupdf-dev - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer (development files) | https://mupdf.com
- apk - mupdf-doc - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer (documentation) | https://mupdf.com
- apk - mupdf-gl - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-gl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer with OpenGL backend | https://mupdf.com
- apk - mupdf-libs - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer | https://mupdf.com
- apk - mupdf-tools - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tools for a lightweight PDF and XPS viewer | https://mupdf.com
- apk - mupdf-x11 - 1.27.2-r0: normalized package name match | Alpine Linux edge package indexes: mupdf-x11 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight PDF and XPS viewer with X11 backend | https://mupdf.com


## Related links

- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [brotli](https://www.automicvault.com/pkg/brew/brotli/) - Runtime dependency declared by Homebrew.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [harfbuzz](https://www.automicvault.com/pkg/brew/harfbuzz/) - Runtime dependency declared by Homebrew.
- [jbig2dec](https://www.automicvault.com/pkg/brew/jbig2dec/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://www.automicvault.com/pkg/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [leptonica](https://www.automicvault.com/pkg/brew/leptonica/) - Runtime dependency declared by Homebrew.
- [libarchive](https://www.automicvault.com/pkg/brew/libarchive/) - Runtime dependency declared by Homebrew.
- [llvm@21](https://www.automicvault.com/pkg/brew/llvm-21/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [swig](https://www.automicvault.com/pkg/brew/swig/) - Build dependency declared by Homebrew.
- [fancy-cat](https://www.automicvault.com/pkg/brew/fancy-cat/) - Popular package that depends on this formula.
- [gowall](https://www.automicvault.com/pkg/brew/gowall/) - Popular package that depends on this formula.
- [pymupdf](https://www.automicvault.com/pkg/brew/pymupdf/) - Popular package that depends on this formula.
- [ghostscript](https://www.automicvault.com/pkg/brew/ghostscript/) - Both packages work with overlapping file formats or content types. Shared terms: freetype, jbig2dec, jpeg, jpeg-turbo, leptonica.
- [opencv](https://www.automicvault.com/pkg/brew/opencv/) - Both packages touch the same language runtime or ecosystem. Shared terms: freetype, harfbuzz, jpeg, jpeg-turbo, libarchive.
- [root](https://www.automicvault.com/pkg/brew/root/) - Both packages touch the same language runtime or ecosystem. Shared terms: freetype, jpeg, jpeg-turbo, openssl, openssl-3.

## Combined YAML source

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


## Sources

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