# xerces-c を Homebrew, apk, dnf, pacman, zypper, apt でインストール

xerces-c のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:xerces-c
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install xerces-c
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add xerces-c
```

  証拠: Alpine Linux edge package indexes: xerces-c from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install xerces-c
```

  証拠: Fedora Rawhide package metadata: xerces-c from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S xerces-c
```

  証拠: Arch Linux sync databases: xerces-c from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install xerces-c
```

  証拠: openSUSE Tumbleweed package metadata: xerces-c from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install libxerces-c-dev
```

  証拠: Debian stable package indexes: libxerces-c-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:xerces-c
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.3.0
- **ソース概要:** Validating XML parser
- **ホームページ:** <https://xerces.apache.org/xerces-c/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- CreateDOMDocument (エイリアス)
- DOMCount (エイリアス)
- DOMPrint (エイリアス)
- EnumVal (エイリアス)
- PParse (エイリアス)
- PSVIWriter (エイリアス)
- Redirect (エイリアス)
- SAX2Count (エイリアス)
- SAX2Print (エイリアス)
- SAXCount (エイリアス)
- SAXPrint (エイリアス)
- SCMPrint (エイリアス)
- SEnumVal (エイリアス)
- StdInParse (エイリアス)
- XInclude (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.3.0
## プロジェクトの歴史と使われ方

Xerces-C++ is Apache Xerces' portable C++ validating XML parser library. It packages DOM, SAX, SAX2, XML Schema, namespace, XInclude, catalog, encoding, and validation machinery for C and C++ applications that need standards-oriented XML processing.

### プロジェクトの歴史

Apache's Xerces charter records that the code base forming both Xerces-Java and Xerces-C++ was donated to Apache by IBM in 1999. Xerces-C++ then matured as a subproject of the Apache XML Project before Apache Xerces became a top-level Apache Software Foundation project in late 2004.

The C++ distribution reflects the XML infrastructure era of the late 1990s and early 2000s: a shared parsing library, extensive sample programs, API documentation, and command-line utilities for counting, printing, validating, DOM traversal, schema component model inspection, and XInclude processing.

Modern Xerces-C++ remains important but more conservative. The project page identifies version 3.3.0, notes that older 2.8.0 and earlier releases are unsupported, and warns that the C++ project currently lacks active maintainers, which is important context for security-sensitive packagers.

### 採用の歴史

Xerces-C++ was adopted wherever C++ applications needed a full XML parser with validation rather than a lightweight tokenizer: enterprise middleware, document-processing systems, XML-aware servers, schema-validating tools, and platform ports. Apache describes use cases including XML-savvy web servers, vertical applications using XML as a data format, on-the-fly validation for XML editors, e-business data integrity, and internationalized XML applications.

Its package-manager footprint is that of a development library rather than a single CLI. Distributions ship headers, a shared library, pkg-config metadata, and sample executables because downstream C++ packages link against Xerces-C++ to parse or validate XML in-process.

### 使われ方

Developers use Xerces-C++ through DOM, SAX, and SAX2 APIs to parse, generate, manipulate, and validate XML documents. The packaged sample tools are useful for smoke tests, examples, and direct XML inspection: commands such as DOMCount, DOMPrint, SAX2Count, SAX2Print, PParse, StdInParse, and XInclude expose library features from the shell.

For package maintainers, Xerces-C++ often appears as a transitive build and runtime dependency for software with XML configuration, metadata exchange, geospatial formats, document standards, or schema validation requirements.

### パッケージ好きにとっての重要性

Xerces-C++ is a classic example of infrastructure hiding in plain sight. A user may never type a Xerces command, but the installed library can be the XML engine behind larger applications, so ABI compatibility, headers, sample binaries, and security maintenance all matter.

It also captures a packaging lesson from mature standards libraries: old XML stacks do not disappear just because the hype moves on. They become quiet dependencies, and their maintainer status and supported release lines become part of responsible curation.

### タイムライン

- 1999: IBM donates the code base that becomes the foundation for Xerces-Java and Xerces-C++.
- Late 2004: Apache Xerces becomes a top-level Apache Software Foundation project.
- 2009-2010: The 3.1.0 release archive records active schema, portability, performance, and API maintenance work.
- 2020s: Apache documents Xerces-C++ 3.3.0, unsupported old 2.x releases, and lack of active maintainers.

### Related projects

- Xerces-Java is the Java parser from the same Apache Xerces family.
- Xerces-Perl is the Perl parser subproject that followed after the C++ community matured.
- Apache Xalan is a related XML transformation project often seen near Xerces in older XML stacks.
- libxml2 is a common C-library alternative for XML parsing and validation.

### ソース

- <https://github.com/apache/xerces-c>
- <https://xerces.apache.org/xerces-c/>
- <https://xerces.apache.org/xerces-c/charter.html>
- <https://xerces.apache.org/xerces-c/releases.html>
- <https://xerces.apache.org/xerces-c/releases_archive.html>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - libxerces-c-dev - 3.2.4+debian-1.3+b2: normalized package name match | Debian stable package indexes: libxerces-c-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | validating XML parser library for C++ (development files) | https://xerces.apache.org/xerces-c/
- Debian apt - libxerces-c-doc - 3.2.4+debian-1.3: normalized package name match | Debian stable package indexes: libxerces-c-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | validating XML parser library for C++ (documentation) | https://xerces.apache.org/xerces-c/
- Debian apt - libxerces-c-samples - 3.2.4+debian-1.3+b2: normalized package name match | Debian stable package indexes: libxerces-c-samples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | validating XML parser library for C++ (compiled samples) | https://xerces.apache.org/xerces-c/
- Debian apt - libxerces-c3.2t64 - 3.2.4+debian-1.3+b2: normalized package name match | Debian stable package indexes: libxerces-c3.2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | validating XML parser library for C++ | https://xerces.apache.org/xerces-c/
- Ubuntu apt - libxerces-c-dev - 3.2.4+debian-1.2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libxerces-c-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | validating XML parser library for C++ (development files) | https://xerces.apache.org/xerces-c/
- Ubuntu apt - libxerces-c-doc - 3.2.4+debian-1.2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libxerces-c-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | validating XML parser library for C++ (documentation) | https://xerces.apache.org/xerces-c/
- Ubuntu apt - libxerces-c-samples - 3.2.4+debian-1.2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libxerces-c-samples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | validating XML parser library for C++ (compiled samples) | https://xerces.apache.org/xerces-c/
- Ubuntu apt - libxerces-c3.2t64 - 3.2.4+debian-1.2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libxerces-c3.2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | validating XML parser library for C++ | https://xerces.apache.org/xerces-c/
- apk - xerces-c - 3.2.5-r4: normalized package name match | Alpine Linux edge package indexes: xerces-c from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A validating XML parser written in a portable subset of C++ | https://xerces.apache.org/index.html
- apk - xerces-c-dev - 3.2.5-r4: normalized package name match | Alpine Linux edge package indexes: xerces-c-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A validating XML parser written in a portable subset of C++ (development files) | https://xerces.apache.org/index.html
- apk - xerces-c-doc - 3.2.5-r4: normalized package name match | Alpine Linux edge package indexes: xerces-c-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A validating XML parser written in a portable subset of C++ (documentation) | https://xerces.apache.org/index.html
- apk - xerces-c-samples - 3.2.5-r4: normalized package name match | Alpine Linux edge package indexes: xerces-c-samples from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A validating XML parser written in a portable subset of C++ (compiled samples) | https://xerces.apache.org/index.html
- dnf - mingw32-xerces-c - 3.3.0-10.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-xerces-c from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MingGW x86 Windows validating XML parser | https://xerces.apache.org/xerces-c/
- dnf - mingw64-xerces-c - 3.3.0-10.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-xerces-c from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MingGW x64 Windows validating XML parser | https://xerces.apache.org/xerces-c/
- dnf - xerces-c - 3.3.0-10.fc45: normalized package name match | Fedora Rawhide package metadata: xerces-c from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Validating XML Parser | https://xerces.apache.org/xerces-c/
- dnf - xerces-c-devel - 3.3.0-10.fc45: normalized package name match | Fedora Rawhide package metadata: xerces-c-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Header files, libraries and development documentation for xerces-c | https://xerces.apache.org/xerces-c/


## Combined YAML source

View the package source record on GitHub. [combined/xerces-c.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xerces-c.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
