# Install epubcheck with Homebrew, apt, MacPorts, Nix, pacman

Validate EPUB files, version 2.0 and later. Version 5.3.0 via Homebrew; verified 2026-06-15. Also installable with debian: sudo apt install epubcheck.

## Install

```sh
sudo av install brew:epubcheck
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install epubcheck
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install epubcheck
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install epubcheck
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#epubcheck
```

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

- pacman (92%):

```sh
sudo pacman -S epubcheck
```

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

## Package facts

- **Package key:** brew:epubcheck
- **Package manager:** Homebrew
- **Version:** 5.3.0
- **Source summary:** Validate EPUB files, version 2.0 and later
- **Homepage:** <https://www.w3.org/publishing/epubcheck/>
- **Repository:** <https://github.com/w3c/epubcheck>
- **Last updated:** 2026-06-15T10:20:15-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- epubcheck (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 5.3.0
## Project history and usage

EPUBCheck is the official conformance checker for EPUB publications. It is distributed as both a standalone command-line tool and a Java library, which makes it useful in publisher QA pipelines, continuous integration, and ad hoc validation by ebook producers.

### Project history

The project traces its early implementation to Adobe, then became part of the standards-centered EPUB ecosystem around IDPF, W3C, and DAISY. The current W3C repository states that the DAISY Consortium maintains EPUBCheck on behalf of W3C and that parts of its validation functionality build on Jing, Nu HTML Checker schemas, IDPF schemas, and DAISY work.

The public GitHub repository was created in 2013 and lists EPUBCheck 3.0 as an early release that year. Current releases validate EPUB 2 and EPUB 3 content, with the production README noting EPUB 3.3 validation support.

### Adoption history

EPUBCheck is unusually central for a validator because EPUB itself is a publishing interchange and distribution format: retailers, aggregators, publishers, accessibility specialists, and production vendors need a shared answer to whether a file conforms. The W3C README's fundraising and donor list shows institutional support from publishers, digital publishing vendors, and accessibility-oriented organizations.

### How it is used

Typical use is the `epubcheck` command against an `.epub` file, with optional machine-readable output for automation. The project also documents Docker use and Java-library use, so package managers mostly provide the CLI entry point while Java builds and CI systems can use the same validator deeper in tooling.

### Why package nerds care

For package-maintainer culture, EPUBCheck is the boring-but-critical kind of tool: one command encapsulates a standards conformance suite that would otherwise require scattered schema and spec knowledge. It appears across Homebrew, Debian-family systems, MacPorts, Nix, and Arch packaging because EPUB validation is needed on developer workstations as well as publishing build machines.

### Timeline

- 2013: The W3C GitHub repository was created and EPUBCheck 3.0 was published on GitHub releases.
- 2017: The project README points to W3C public mailing-list archives after older Google Group discussions.
- 2020s: DAISY maintains EPUBCheck on behalf of W3C, with fundraising support for continued development and maintenance.
- 2024: EPUBCheck 5.x validates EPUB 2 and EPUB 3 publications, including EPUB 3.3.

### Related projects

- Jing, Nu HTML Checker, IDPF schemas, DAISY schemas, and W3C EPUB specifications are important adjacent pieces of the EPUBCheck validation stack.

### Sources

- <https://github.com/w3c/epubcheck>
- <https://github.com/w3c/epubcheck/releases>
- <https://api.github.com/repos/w3c/epubcheck>
- <https://www.w3.org/publishing/epubcheck>


## Security Notes

narrow executable package without higher-risk signals.

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

## Other Package-Manager Records

- Debian apt - epubcheck - 4.2.6-2: normalized package name match | Debian stable package indexes: epubcheck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Validation Tool for EPUB | https://github.com/w3c/epubcheck
- Nix - epubcheck: normalized package name match | nixpkgs package indexes: pkgs/by-name/ep/epubcheck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - epubcheck - 4.2.6-2: normalized package name match | Ubuntu 24.04 LTS package indexes: epubcheck from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Validation Tool for EPUB | https://github.com/w3c/epubcheck
- pacman - epubcheck - 5.3.0-1: normalized package name match | Arch Linux sync databases: epubcheck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The conformance checker for EPUB publications | https://github.com/w3c/epubcheck
- MacPorts - epubcheck: normalized package name match | MacPorts ports tree: textproc/epubcheck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
