.. _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-devel
arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  libxml2-devel

cygwin:

.. CODE-BLOCK:: bash

    $ apt-cyg install libxml2-devel

Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  libxml2-devel

Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  libxml2-devel

freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install libxml2-devel

gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge libxml2-devel

homebrew:

.. CODE-BLOCK:: bash

    $ brew install libxml2-devel

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

.. CODE-BLOCK:: bash

    $ nix-env --install libxml2-devel

opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install libxml2-devel

slackware:

.. CODE-BLOCK:: bash

    $ sudo slackpkg install libxml2-devel

void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  libxml2-devel

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

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

