libxml2

Install command:
brew install libxml2

GNOME XML library

https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home

License: MIT AND ISC-Veillard

Development: Pull requests

Formula JSON API: /api/formula/libxml2.json

Formula code: libxml2.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.15.4
head ⚡️ HEAD

Keg-only because macOS already provides this software.

Depends on:

readline 8.3.6 Library for command-line editing

Depends on when building from source:

pkgconf 3.0.11 Package compiler and linker metadata toolkit

Binaries: xml2-config, xmlcatalog, xmllint

GitHub Packages downloads:

Last 30 days267,653
Downloads17,461,328
Analytics install events (30 days)46,357
Downloads / install events (30 days)5.8×

Source: GitHub Packages, fetched 2026-11-19T00:54:32Z. Analytics dates: 2026-10-20 to 2026-11-19. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs46,348113,145563,689
Installs (--HEAD)91570
Installs on Request5,85917,57296,187
Installs on Request (--HEAD)81463
Build Errors25