.. _spkg_libxml2:

libxml2: XML parser and toolkit
===============================

Description
-----------

XML C parser and toolkit

License
-------

MIT

Upstream Contact
----------------

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

Type
----

optional


Version Information
-------------------


Equivalent System Packages
--------------------------

alpine:
install the following packages: libxml2-dev
arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  libxml2

cygwin:

.. CODE-BLOCK:: bash

    $ apt-cyg install libxml2-devel

Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  libxml2-dev

Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  libxml2-devel

freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install libxml2

gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge dev-libs/libxml2

homebrew:

.. CODE-BLOCK:: bash

    $ brew install libxml2

macports:
install the following packages: py-libxml2
nix:

.. CODE-BLOCK:: bash

    $ nix-env --install libxml2

opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install libxml2

slackware:

.. CODE-BLOCK:: bash

    $ sudo slackpkg install libxml2

void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  libxml2-devel

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

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

