# 使用 Homebrew, apk, pacman, zypper, apt 安装 kdoctools

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

## 安装

```sh
sudo av install brew:kdoctools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kdoctools
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add kdoctools
```

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

- pacman (92%):

```sh
sudo pacman -S kdoctools
```

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

- zypper (92%):

```sh
sudo zypper install kdoctools
```

  证据: openSUSE Tumbleweed package metadata: kdoctools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install kdoctools5
```

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

## 软件包事实

- **软件包键:** brew:kdoctools
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/kdoctools>
- **版本:** 6.28.0
- **来源摘要:** Create documentation from DocBook
- **主页:** <https://l10n.kde.org/docs/doc-primer/>
- **上游文档:** <https://l10n.kde.org/docs/doc-primer/>
- **许可证:** BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)
- **源码归档:** <https://download.kde.org/stable/frameworks/6.28/kdoctools-6.28.0.tar.xz>
- **最后更新:** 2026-07-10T19:29:48Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- checkXML6 (cli)
- meinproc6 (cli)
- checkXML6 (别名)
- meinproc6 (别名)

## 依赖

- docbook-xsl
- karchive
- qtbase

## 构建依赖

- cmake
- doxygen
- extra-cmake-modules
- gettext
- ki18n
- qttools

## macOS 提供的库

- libxml2
- libxslt

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 6.28.0
- 管理器更新时间: 2026-07-10
- 本地数据: OK
- 上游仓库: https://l10n.kde.org/docs/doc-primer/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

KDocTools is the KDE Frameworks documentation-generation component for building KDE documentation from DocBook sources. Its package-nerd identity is less about an end-user command and more about the small but essential build-time tools, including meinproc6 and checkXML6, that let KDE applications ship localized help and manuals in a consistent format.

### 项目历史

The KDocTools README describes the project as tools for generating documentation in various formats from DocBook files and credits Eric Bischoff, Claudiu Costin, Frederik Fouvry, David Rugge, and other contributors for the original documentation toolchain pieces. KDE's API documentation identifies the maintained framework as a KDE Community project, with support across Linux, FreeBSD, Windows, and macOS.

KDocTools became one of the separately shipped KDE Frameworks modules when KDE Frameworks 5.0 was announced on 2014-07-07. That move put the old KDE platform library stack into smaller Qt-oriented framework packages, and the 5.0 source list explicitly included kdoctools-5.0.0. KDocTools later continued into the Qt 6 generation as KF6DocTools, with KDE's 2024-02-28 MegaRelease shipping Frameworks 6 alongside Plasma 6 and Gear 24.02.

### 采用历史

KDocTools is adopted indirectly by KDE packagers and application maintainers: it appears as a framework package in Homebrew and major Unix-like distributions because KDE projects use DocBook help files and translated documentation as part of their build and release process. Its value is most visible in packaging, localization, and reproducible documentation builds rather than in direct interactive use.

### 使用方式

Typical use is during builds or documentation checks, where KDE projects invoke KDocTools components to validate XML and transform DocBook documentation. Users usually encounter it as a build dependency for KDE software, while documentation maintainers encounter the command-line tools directly.

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

KDocTools is a classic dependency iceberg package: small, quiet, and easy to overlook, but important to making KDE source releases build complete help systems. It also preserves KDE's long-running DocBook documentation culture inside the modular KDE Frameworks packaging model.

### 时间线

- 1996-2025: KDE API documentation credits the KDE documentation corpus across this date range.
- 2014-07-07: KDE Frameworks 5.0 shipped with a standalone kdoctools-5.0.0 source package.
- 2020-05-16: The KDE Invent project page records the current KDocTools GitLab project creation date after KDE infrastructure migration.
- 2024-02-28: KDE MegaRelease 6 shipped Frameworks 6, and KDocTools continued as KF6DocTools.

### Related projects

- KDocTools sits with KDE Frameworks, KDE's DocBook documentation workflow, KApiDox, and other KDE build-time infrastructure. It is related to DocBook itself as the source markup format and to KDE localization because translated manuals depend on this toolchain.

### 来源

- <https://api.kde.org/frameworks/kdoctools/html/index.html>
- <https://invent.kde.org/frameworks/kdoctools>
- <https://invent.kde.org/frameworks/kdoctools/-/raw/master/README.md>
- <https://invent.kde.org/frameworks/kdoctools/-/raw/master/metainfo.yaml>
- <https://kde.org/announcements/frameworks/5/5.0.0/>
- <https://kde.org/announcements/megarelease/6/>


## 安全说明

没有找到 kdoctools 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

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

- Debian apt - kdoctools5 - 5.116.0-1: normalized package name match | Debian stable package indexes: kdoctools5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tools to generate documentation in various formats from DocBook | https://invent.kde.org/frameworks/kdoctools
- Debian apt - libkf5doctools-dev - 5.116.0-1: normalized package name match | Debian stable package indexes: libkf5doctools-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for kdoctools5 | https://invent.kde.org/frameworks/kdoctools
- Debian apt - libkf5doctools5 - 5.116.0-1: normalized package name match | Debian stable package indexes: libkf5doctools5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tools to generate documentation in various formats from DocBook | https://invent.kde.org/frameworks/kdoctools
- Ubuntu apt - kdoctools5 - 5.115.0-0ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: kdoctools5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tools to generate documentation in various formats from DocBook | https://invent.kde.org/frameworks/kdoctools
- Ubuntu apt - libkf5doctools-dev - 5.115.0-0ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: libkf5doctools-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for kdoctools5 | https://invent.kde.org/frameworks/kdoctools
- Ubuntu apt - libkf5doctools5 - 5.115.0-0ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: libkf5doctools5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tools to generate documentation in various formats from DocBook | https://invent.kde.org/frameworks/kdoctools
- apk - kdoctools - 6.28.0-r0: normalized package name match | Alpine Linux edge package indexes: kdoctools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Documentation generation from docbook | https://community.kde.org/Frameworks
- apk - kdoctools-dev - 6.28.0-r0: normalized package name match | Alpine Linux edge package indexes: kdoctools-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Documentation generation from docbook (development files) | https://community.kde.org/Frameworks
- apk - kdoctools-doc - 6.28.0-r0: normalized package name match | Alpine Linux edge package indexes: kdoctools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Documentation generation from docbook (documentation) | https://community.kde.org/Frameworks
- pacman - kdoctools - 6.28.0-1: normalized package name match | Arch Linux sync databases: kdoctools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Documentation generation from docbook | https://develop.kde.org/products/frameworks/
- zypper - kdoctools - 5.116.0-1.9: normalized package name match | openSUSE Tumbleweed package metadata: kdoctools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tools to create documentation from DocBook | https://www.kde.org
- zypper - kdoctools-devel - 5.116.0-1.9: normalized package name match | openSUSE Tumbleweed package metadata: kdoctools-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Build environment for kdoctools | https://www.kde.org
- zypper - kdoctools-lang - 5.116.0-1.9: normalized package name match | openSUSE Tumbleweed package metadata: kdoctools-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Translations for package kdoctools | https://www.kde.org
- zypper - libKF5DocTools5 - 5.116.0-1.9: normalized package name match | openSUSE Tumbleweed package metadata: libKF5DocTools5 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Library to create documentation from DocBook | https://www.kde.org


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [qtbase](https://pkg.so/zh-hans/brew/qtbase/) - Runtime dependency declared by Homebrew.
- [docbook-xsl](https://pkg.so/zh-hans/brew/docbook-xsl/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/zh-hans/brew/gettext/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [doxygen](https://pkg.so/zh-hans/brew/doxygen/) - Build dependency declared by Homebrew.
- [asciidoc](https://pkg.so/zh-hans/brew/asciidoc/) - Shares pkgdb curated category or tags: cli, developer-tools, docbook, documentation.
- [asciidoctor](https://pkg.so/zh-hans/brew/asciidoctor/) - Shares pkgdb curated category or tags: cli, developer-tools, docbook, documentation.
- [docutils](https://pkg.so/zh-hans/brew/docutils/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [mermaid-cli](https://pkg.so/zh-hans/brew/mermaid-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [mdbook](https://pkg.so/zh-hans/brew/mdbook/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [cheat](https://pkg.so/zh-hans/brew/cheat/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation.
- [gtk-doc](https://pkg.so/zh-hans/brew/gtk-doc/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, docbook, docbook-xsl.

## Combined YAML source

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


## 来源

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