macOS
brew install expatlocal Homebrew formula metadata
sudo port install expatMacPorts ports tree · textproc/expat/Portfile · ソース: api.github.com
brew
expat のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install expatlocal Homebrew formula metadata
sudo port install expatMacPorts ports tree · textproc/expat/Portfile · ソース: api.github.com
sudo apk add expatAlpine Linux edge package indexes · expat · ソース: dl-cdn.alpinelinux.org
sudo apt install expatDebian stable package indexes · expat · ソース: deb.debian.org
sudo dnf install expatFedora Rawhide package metadata · expat · ソース: dl.fedoraproject.org
nix profile install nixpkgs#expatnixpkgs package indexes · pkgs/by-name/ex/expat/package.nix · ソース: api.github.com
sudo pacman -S expatArch Linux sync databases · expat · ソース: geo.mirror.pkgbuild.com
sudo zypper install expatopenSUSE Tumbleweed package metadata · expat · ソース: download.opensuse.org
概要
XML 1.0 parser
履歴
Expat is a fast streaming XML parser library written in C, with xmlwf as its command-line well-formedness checker. It is package-manager-famous because XML parsing became infrastructure, and Expat is small, MIT-licensed, embeddable, and widely shipped.
The official repository describes Expat as a C99 library for parsing XML 1.0, started by James Clark in 1997. Its model is event-oriented: users register handlers before parsing, and those handlers are called as document structures are discovered.
The project site frames Expat around streaming rather than building a full in-memory document tree. That makes it useful for files too large to fit in memory, and for applications where parser performance and flexible callbacks are more important than a high-level DOM interface.
The Expat homepage states that numerous applications, libraries, and hardware use Expat, that bindings and third-party wrappers exist, and that Expat is packaged everywhere. That breadth is the key adoption story: many users never invoke xmlwf directly, but they depend on Expat through another program or language runtime.
The repository README documents common build-system integration, including CMake find_package usage. That is a sign of mature library adoption: Expat is not just an executable in package managers, but a dependency with headers, link targets, and ABI expectations.
Developers use libexpat when they want a C XML parser that calls application-defined handlers for starts, ends, character data, and related XML structures. The included xmlwf executable is used to check whether XML input is well formed.
Because XML parsers sit at input boundaries, Expat's package history is often security-driven. The official GitHub issue tracker includes release coordination that references downstream updates in CPython, Gentoo, Spack, Homebrew, NixOS, MSYS2, and other packaging ecosystems when CVE fixes land.
Expat is a dependency-package archetype: boring when healthy, urgent when vulnerable. It is small enough to be embedded or vendored, but important enough that a security update can ripple through Python, Linux distributions, language package sets, and embedded builds.
The package also demonstrates the difference between library identity and command identity. Homebrew exposes xmlwf as the executable, while the real package value is libexpat and its headers.
セキュリティ状態
expat に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
xmlwf | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/libexpat/libexpat
インストールメタデータ
| パッケージキー | brew:expat |
|---|---|
| バージョン | 2.8.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/expat |
| ホームページ | https://libexpat.github.io/ |
| リポジトリ | https://github.com/libexpat/libexpat |
| 上流ドキュメント | https://libexpat.github.io/doc |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/libexpat/libexpat/releases/download/R_2_8_2/expat-2.8.2.tar.xz |
| 最終更新 | 2026-06-25T21:42:09Z |
| Pulse | updated |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | expat |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
expat 2.7.1-2
XML parsing C library - example application
sudo apt install expatlibexpat1 2.7.1-2
XML parsing C library - runtime library
sudo apt install libexpat1libexpat1-dev 2.7.1-2
XML parsing C library - development kit
sudo apt install libexpat1-devexpat
nix profile install nixpkgs#expatexpat 2.6.1-2build1
XML parsing C library - example application
sudo apt install expatlibexpat1 2.6.1-2build1
XML parsing C library - runtime library
sudo apt install libexpat1libexpat1-dev 2.6.1-2build1
XML parsing C library - development kit
sudo apt install libexpat1-devexpat 2.8.1-r0
XML Parser library written in C
sudo apk add expatexpat-dev 2.8.1-r0
XML Parser library written in C (development files)
sudo apk add expat-devexpat-doc 2.8.1-r0
XML Parser library written in C (documentation)
sudo apk add expat-docexpat-static 2.8.1-r0
XML Parser library written in C (static library)
sudo apk add expat-staticlibexpat 2.8.1-r0
XML Parser library written in C (libraries)
sudo apk add libexpatexpat 2.8.1-1.fc45
An XML parser library
sudo dnf install expatexpat-devel 2.8.1-1.fc45
Libraries and header files to develop applications using expat
sudo dnf install expat-develexpat-static 2.8.1-1.fc45
expat XML parser static library
sudo dnf install expat-staticexpat 2.8.1-1
An XML parser library
sudo pacman -S expatソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.