macOS
brew install libxml2local Homebrew formula metadata
sudo port install libxml2MacPorts ports tree · textproc/libxml2/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libxml2 pour les workflows d'agents IA.
installation
brew install libxml2local Homebrew formula metadata
sudo port install libxml2MacPorts ports tree · textproc/libxml2/Portfile · Source: api.github.com
sudo apk add libxml2Alpine Linux edge package indexes · libxml2 · Source: dl-cdn.alpinelinux.org
sudo apt install libxml2Debian stable package indexes · libxml2 · Source: deb.debian.org
sudo dnf install libxml2Fedora Rawhide package metadata · libxml2 · Source: dl.fedoraproject.org
sudo pacman -S libxml2Arch Linux sync databases · libxml2 · Source: geo.mirror.pkgbuild.com
sudo zypper install libxml2-16openSUSE Tumbleweed package metadata · libxml2-16 · Source: download.opensuse.org
scoop install main/libxml2Scoop official bucket manifest trees · bucket/libxml2.json · Source: api.github.com
aperçu
GNOME XML library
historique
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.
posture de sécurité
library-like package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
xml2-config | cli | exécutable global | |
xmlcatalog | cli | exécutable global | |
xmllint | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:libxml2 |
|---|---|
| Version | 2.15.3 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/libxml2 |
| Page d'accueil | http://xmlsoft.org/ |
| Dépôt | https://gitlab.gnome.org/GNOME/libxml2 |
| Docs amont | https://gnome.pages.gitlab.gnome.org/libxml2/devhelp |
| Licence | MIT |
| Archive source | https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.3.tar.xz |
| Dernière mise à jour | 2026-06-22T14:05:25-07:00 |
| Pulse | updated |
| Dépendances | readline |
| Dépendances de compilation | pkgconf |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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-utilspiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.