libxml2: XML parser and toolkit - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# libxml2: XML parser and toolkit

## Description

XML C parser and toolkit

## License

MIT

## Upstream Contact

http://www.xmlsoft.org/index.html

## Type

optional

## Dependencies

- iconv: Library for language/country-dependent character encodings

## Version Information

## Equivalent System Packages

Alpine

    $ apk add libxml2-dev

Arch Linux

    $ sudo pacman -S libxml2

Debian/Ubuntu

    $ sudo apt-get install libxml2-dev

Fedora/Redhat/CentOS

    $ sudo dnf install libxml2-devel

FreeBSD

    $ sudo pkg install libxml2

Gentoo Linux

    $ sudo emerge dev-libs/libxml2

Homebrew

    $ brew install libxml2

MacPorts

    $ sudo port install py-libxml2

Nixpkgs

    $ nix-env --install libxml2

openSUSE

    $ sudo zypper install libxml2

pyodide

install the following packages: libxml

Slackware

    $ sudo slackpkg install libxml2

Void Linux

    $ sudo xbps-install libxml2-devel

See https://repology.org/project/libxml2/versions

If the system package is installed, `./configure` will check if it can be used.