Automic VaultAutomic Vault

brew

expat を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install expat

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install expat

MacPorts ports tree · textproc/expat/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add expat

Alpine Linux edge package indexes · expat · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install expat

Debian stable package indexes · expat · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install expat

Fedora Rawhide package metadata · expat · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#expat

nixpkgs package indexes · pkgs/by-name/ex/expat/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S expat

Arch Linux sync databases · expat · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install expat

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

タイムライン

  • 1997: James Clark started Expat.
  • 2.4.x: Security releases triggered broad downstream package updates.
  • 2025: Expat 2.7.2 release coordination referenced Homebrew, CPython, NixOS, MSYS2, Spack, Gentoo, and other downstreams.
  • 2026: Expat 2.8.x release coordination continued around security fixes and downstream updates.

Related projects

  • CPython is a major downstream because Python includes pyexpat bindings and coordinates bundled Expat updates.
  • CMake's FindEXPAT module is an important integration path for C and C++ projects.
  • Other XML parsers are related by role, but Expat's official documentation emphasizes its streaming C API.

セキュリティ状態

保護ツール対応はまだ見つかっていません

expat に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
xmlwfcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版2.8.2
マネージャ更新日2026-06-25
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameexpat
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • head
  • stable

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

expat 2.7.1-2

XML parsing C library - example application

https://libexpat.github.io/

sudo apt install expat
  • Section: text
  • Architecture: amd64
  • 2 依存関係
  • normalized package name match
  • 一致条件: Expat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: expat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libexpat1 2.7.1-2

XML parsing C library - runtime library

https://libexpat.github.io/

sudo apt install libexpat1
  • Section: libs
  • Architecture: amd64
  • Source Package: expat
  • normalized package name match
  • 一致条件: Expat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libexpat1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libexpat1-dev 2.7.1-2

XML parsing C library - development kit

https://libexpat.github.io/

sudo apt install libexpat1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: expat
  • 3 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Expat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libexpat1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

expat

nix profile install nixpkgs#expat
  • normalized package name match
  • 一致条件: Expat
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ex/expat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

expat 2.6.1-2build1

XML parsing C library - example application

https://libexpat.github.io/

sudo apt install expat
  • Section: universe/text
  • Architecture: amd64
  • 2 依存関係
  • normalized package name match
  • 一致条件: Expat
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: expat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libexpat1 2.6.1-2build1

XML parsing C library - runtime library

https://libexpat.github.io/

sudo apt install libexpat1
  • Section: libs
  • Architecture: amd64
  • Source Package: expat
  • 1 依存関係
  • normalized package name match
  • 一致条件: Expat
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libexpat1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libexpat1-dev 2.6.1-2build1

XML parsing C library - development kit

https://libexpat.github.io/

sudo apt install libexpat1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: expat
  • 3 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Expat
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libexpat1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

expat 2.8.1-r0

XML Parser library written in C

https://libexpat.github.io/

sudo apk add expat
  • License: MIT
  • Architecture: x86_64
  • Source Package: expat
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Expat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: expat from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

expat-dev 2.8.1-r0

XML Parser library written in C (development files)

https://libexpat.github.io/

sudo apk add expat-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: expat
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Expat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: expat-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

expat-doc 2.8.1-r0

XML Parser library written in C (documentation)

https://libexpat.github.io/

sudo apk add expat-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: expat
  • normalized package name match
  • 一致条件: Expat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: expat-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

expat-static 2.8.1-r0

XML Parser library written in C (static library)

https://libexpat.github.io/

sudo apk add expat-static
  • License: MIT
  • Architecture: x86_64
  • Source Package: expat
  • 1 依存関係
  • normalized package name match
  • 一致条件: Expat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: expat-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libexpat 2.8.1-r0

XML Parser library written in C (libraries)

https://libexpat.github.io/

sudo apk add libexpat
  • License: MIT
  • Architecture: x86_64
  • Source Package: expat
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Expat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libexpat from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

expat 2.8.1-1.fc45

An XML parser library

https://libexpat.github.io/

sudo dnf install expat
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: expat
  • 3 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Expat
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: expat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

expat-devel 2.8.1-1.fc45

Libraries and header files to develop applications using expat

https://libexpat.github.io/

sudo dnf install expat-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: expat
  • 3 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Expat
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: expat-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

expat-static 2.8.1-1.fc45

expat XML parser static library

https://libexpat.github.io/

sudo dnf install expat-static
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: expat
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Expat
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: expat-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

expat 2.8.1-1

An XML parser library

https://libexpat.github.io/

sudo pacman -S expat
  • License: MIT
  • Architecture: x86_64
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Expat
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: expat from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment