macOS
brew install libxml2local Homebrew formula metadata
sudo port install libxml2MacPorts ports tree · textproc/libxml2/Portfile · ソース: api.github.com
brew
libxml2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install libxml2local Homebrew formula metadata
sudo port install libxml2MacPorts ports tree · textproc/libxml2/Portfile · ソース: api.github.com
sudo apk add libxml2Alpine Linux edge package indexes · libxml2 · ソース: dl-cdn.alpinelinux.org
sudo apt install libxml2Debian stable package indexes · libxml2 · ソース: deb.debian.org
sudo dnf install libxml2Fedora Rawhide package metadata · libxml2 · ソース: dl.fedoraproject.org
sudo pacman -S libxml2Arch Linux sync databases · libxml2 · ソース: geo.mirror.pkgbuild.com
sudo zypper install libxml2-16openSUSE Tumbleweed package metadata · libxml2-16 · ソース: download.opensuse.org
scoop install main/libxml2Scoop official bucket manifest trees · bucket/libxml2.json · ソース: api.github.com
概要
GNOME XML library
履歴
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.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
xml2-config | cli | グローバル実行可能ファイル | |
xmlcatalog | cli | グローバル実行可能ファイル | |
xmllint | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:libxml2 |
|---|---|
| バージョン | 2.15.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/libxml2 |
| ホームページ | http://xmlsoft.org/ |
| リポジトリ | https://gitlab.gnome.org/GNOME/libxml2 |
| 上流ドキュメント | https://gnome.pages.gitlab.gnome.org/libxml2/devhelp |
| ライセンス | MIT |
| ソースアーカイブ | https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.3.tar.xz |
| 最終更新 | 2026-06-22T14:05:25-07:00 |
| Pulse | updated |
| 依存関係 | readline |
| ビルド依存関係 | pkgconf |
| 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 | 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-utilsソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.