#### Linux From Scratch - Version 7.9

### Chapter 6. Installing Basic System Software

- Prev

  GDBM-1.11

- Next

  Inetutils-1.9.4

- Up
- Home

# 6.39. Expat-2.1.0

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

Approximate build time: 0.1 SBU
Required disk space: 6.6 MB

## 6.39.1. Installation of Expat

Prepare Expat for compilation:

    ./configure --prefix=/usr --disable-static

Compile the package:

    make

To test the results, issue:

    make check

Install the package:

    make install

If desired, install the documentation:

    install -v -dm755 /usr/share/doc/expat-2.1.0
    install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.1.0

## 6.39.2. Contents of Expat

Installed program: xmlwf
Installed libraries: libexpat.so
Installed directory: /usr/share/doc/expat-2.1.0

### Short Descriptions

xmlwf | is a non-validating utility to check whether or not XML documents are well formed
`libexpat` | contains API functions for parsing XML

- Prev

  GDBM-1.11

- Next

  Inetutils-1.9.4

- Up
- Home