# 使用 Homebrew, apt, MacPorts, Nix, pacman 安装 epubcheck

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install epubcheck
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install epubcheck
```

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

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

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

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

## 软件包事实

- **软件包键:** brew:epubcheck
- **软件包管理器:** Homebrew
- **版本:** 5.3.0
- **来源摘要:** Validate EPUB files, version 2.0 and later
- **主页:** <https://www.w3.org/publishing/epubcheck/>
- **仓库:** <https://github.com/w3c/epubcheck>
- **最后更新:** 2026-06-15T10:20:15-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- epubcheck (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 5.3.0
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

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

### 来源

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


## 安全说明

narrow executable package without higher-risk signals.

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

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

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


## 来源

- 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
