macOS
brew install libxml2local Homebrew formula metadata
sudo port install libxml2MacPorts ports tree · textproc/libxml2/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libxml2 in AI-Agent-Workflows.
Installation
brew install libxml2local Homebrew formula metadata
sudo port install libxml2MacPorts ports tree · textproc/libxml2/Portfile · Quelle: api.github.com
sudo apk add libxml2Alpine Linux edge package indexes · libxml2 · Quelle: dl-cdn.alpinelinux.org
sudo apt install libxml2Debian stable package indexes · libxml2 · Quelle: deb.debian.org
sudo dnf install libxml2Fedora Rawhide package metadata · libxml2 · Quelle: dl.fedoraproject.org
sudo pacman -S libxml2Arch Linux sync databases · libxml2 · Quelle: geo.mirror.pkgbuild.com
sudo zypper install libxml2-16openSUSE Tumbleweed package metadata · libxml2-16 · Quelle: download.opensuse.org
scoop install main/libxml2Scoop official bucket manifest trees · bucket/libxml2.json · Quelle: api.github.com
Überblick
GNOME XML library
Verlauf
libxml2 is the GNOME XML C parser and toolkit, but its reach extends far beyond GNOME. It became one of the default XML implementations for Unix-like systems because it combines parser, tree API, validation support, HTML parsing, catalog handling, command-line tools, and language bindings in a portable C library.
The libxml2 documentation describes the project as an XML toolkit implemented in C and originally developed for the GNOME Project. The historical xmlsoft.org documentation credited Daniel Veillard as the maintainer and pointed users to GNOME CVS modules for libxml2 and libxslt.
GNOME's release archive contains the libxml2 2.0.0 source tarball dated 2000-04-12. The project's public documentation records the GNOME GitLab repository and the GNOME download archive as official locations, showing the migration from the older xmlsoft/GNOME CVS era to GNOME-hosted GitLab and generated API documentation.
libxml2 was adopted widely because XML was a core interchange format for desktop files, configuration formats, documentation systems, web service stacks, office formats, and build tooling. Its permissive MIT license, C API, portability, and bindings made it attractive to distributions and application runtimes.
The command-line tools xmllint and xmlcatalog gave the library a direct package-manager presence. Even users who never linked libxml2 could install the package to validate XML, inspect documents, test XPath expressions, or manage XML catalogs in build and documentation pipelines.
Common package usage includes linking against libxml2 for parsing and validation, using xmllint in scripts and tests, and using xmlcatalog where systems rely on XML catalog resolution. It is also a dependency layer for related XML software such as libxslt and xmlsec.
libxml2 is package-nerd infrastructure: small enough to be considered a library dependency, but important enough that parser behavior, security fixes, and ABI expectations affect browsers, language ecosystems, desktop software, and distro bootstrap graphs. Its presence in package managers is a sign that XML support is part of the Unix substrate rather than a niche add-on.
Sicherheitslage
library-like package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
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 |
|---|---|---|---|
xml2-config | cli | globales Executable | |
xmlcatalog | cli | globales Executable | |
xmllint | 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.
Installationsmetadaten
| Paketschlüssel | brew:libxml2 |
|---|---|
| Version | 2.15.3 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/libxml2 |
| Homepage | http://xmlsoft.org/ |
| Repository | https://gitlab.gnome.org/GNOME/libxml2 |
| Upstream-Dokumentation | https://gnome.pages.gitlab.gnome.org/libxml2/devhelp |
| Lizenz | MIT |
| Quellarchiv | https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.3.tar.xz |
| Zuletzt aktualisiert | 2026-06-22T14:05:25-07:00 |
| Pulse | updated |
| Abhängigkeiten | readline |
| Build-Abhängigkeiten | pkgconf |
| 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 | libxml2 |
| 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.
libxml2 2.12.7+dfsg+really2.9.14-2.1+deb13u2
GNOME XML library
sudo apt install libxml2libxml2-dev 2.12.7+dfsg+really2.9.14-2.1+deb13u2
GNOME XML library - development files
sudo apt install libxml2-devlibxml2-doc 2.12.7+dfsg+really2.9.14-2.1+deb13u2
GNOME XML library - documentation
sudo apt install libxml2-doclibxml2-utils 2.12.7+dfsg+really2.9.14-2.1+deb13u2
GNOME XML library - utilities
sudo apt install libxml2-utilspython3-libxml2 2.12.7+dfsg+really2.9.14-2.1+deb13u2
GNOME XML library - Python3 bindings
sudo apt install python3-libxml2libxml2 2.9.14+dfsg-1.3ubuntu3
GNOME XML library
sudo apt install libxml2libxml2-dev 2.9.14+dfsg-1.3ubuntu3
GNOME XML library - development files
sudo apt install libxml2-devlibxml2-doc 2.9.14+dfsg-1.3ubuntu3
GNOME XML library - documentation
sudo apt install libxml2-doclibxml2-utils 2.9.14+dfsg-1.3ubuntu3
GNOME XML library - utilities
sudo apt install libxml2-utilspython3-libxml2 2.9.14+dfsg-1.3ubuntu3
GNOME XML library - Python3 bindings
sudo apt install python3-libxml2libxml2 2.13.9-r2
XML parsing library, version 2
https://gitlab.gnome.org/GNOME/libxml2
sudo apk add libxml2libxml2-dbg 2.13.9-r2
XML parsing library, version 2 (debug symbols)
https://gitlab.gnome.org/GNOME/libxml2
sudo apk add libxml2-dbglibxml2-dev 2.13.9-r2
XML parsing library, version 2 (development files)
https://gitlab.gnome.org/GNOME/libxml2
sudo apk add libxml2-devlibxml2-doc 2.13.9-r2
XML parsing library, version 2 (documentation)
https://gitlab.gnome.org/GNOME/libxml2
sudo apk add libxml2-doclibxml2-static 2.13.9-r2
XML parsing library, version 2 (static library)
https://gitlab.gnome.org/GNOME/libxml2
sudo apk add libxml2-staticlibxml2-utils 2.13.9-r2
XML utilities
https://gitlab.gnome.org/GNOME/libxml2
sudo apk add libxml2-utilsQuellspur
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.