macOS
brew install expatlocal Homebrew formula metadata
sudo port install expatMacPorts ports tree · textproc/expat/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für expat in AI-Agent-Workflows.
Installation
brew install expatlocal Homebrew formula metadata
sudo port install expatMacPorts ports tree · textproc/expat/Portfile · Quelle: api.github.com
sudo apk add expatAlpine Linux edge package indexes · expat · Quelle: dl-cdn.alpinelinux.org
sudo apt install expatDebian stable package indexes · expat · Quelle: deb.debian.org
sudo dnf install expatFedora Rawhide package metadata · expat · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#expatnixpkgs package indexes · pkgs/by-name/ex/expat/package.nix · Quelle: api.github.com
sudo pacman -S expatArch Linux sync databases · expat · Quelle: geo.mirror.pkgbuild.com
sudo zypper install expatopenSUSE Tumbleweed package metadata · expat · Quelle: download.opensuse.org
Überblick
XML 1.0 parser
Verlauf
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.
Sicherheitslage
Für expat wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
xmlwf | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/libexpat/libexpat
Installationsmetadaten
| Paketschlüssel | brew:expat |
|---|---|
| Version | 2.8.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/expat |
| Homepage | https://libexpat.github.io/ |
| Repository | https://github.com/libexpat/libexpat |
| Upstream-Dokumentation | https://libexpat.github.io/doc |
| Lizenz | MIT |
| Quellarchiv | https://github.com/libexpat/libexpat/releases/download/R_2_8_2/expat-2.8.2.tar.xz |
| Zuletzt aktualisiert | 2026-06-25T21:42:09Z |
| Pulse | updated |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 expatQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.