Introduction to Expat

The Expat package contains a stream oriented C library for parsing XML.

Package Information

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/expat

Installation of Expat

Install Expat by running the following commands:

./configure --prefix=/usr &&

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/expat-2.0.1 &&
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.0.1

To test the results, issue: make check as an unprivileged user. Note this must be done after the package is installed.


Installed Program: xmlwf
Installed Library: libexpat.{so,a}
Installed Directory: /usr/share/doc/expat-2.0.1

Short Descriptions


is a non-validating utility to check whether or not XML documents are well formed.


contains API functions for parsing XML.

Last updated on 2007-07-02 13:22:33 -0500