# Documentation Dependencies

The following packages are used to build &app;'s documentation.

## Documentation Dependency Table

Name | Level | Version | Description | Explanation | apt-get package | RPM/Yum package | BSD package
--- | --- | --- | --- | --- | --- | --- | ---
Docbook | Required |  | Docbook is is an industry-standard XML format for technical documentation. You can download it from http://sourceforge.net/project/showfiles.php?group_id=21935#files. | &app; documentation is written in Docbook. | `docbook-utils` and `docbook-dsssl` | `docbook-dtd41-sgml` and `docbook-style-dsssl` | docbook
DocBook2X | Optional |  | This software package converts Docbook documents to the traditional man page format, GNU Texinfo format, and HTML (via Texinfo) format. It is available at http://docbook2x.sourceforge.net/. | DocBook2X is required to produce HTML and Texinfo formats. | `docbook2x` | `docbook2x` | `docbook2x`
DocBook-utils | Optional |  | This software package converts Docbook documents to the traditional man page format, GNU Texinfo format, and HTML (via Texinfo) format. | DocBook-utils is required to produce HTML and Texinfo formats. | `docbook-utils` | `docbook-utils` | `docbook-utils`
Texinfo | Possibly Required |  | Texinfo can be used to convert DocBook2X output into GNU info pages. You can download it from http://ftp.gnu.org/gnu/texinfo/. | Texinfo is required if you wish to produce GNU info pages. | `texinfo` | `texinfo` | `texinfo`
FOP | Optional | 0.20.5 | Formatting Objects Processor is a print formatter driven by XSL formatting objects. It is a Java application which can output PDF, PCL, PS, SVG, XML, Print, AWT, MIF, and Text. It is available at http://xmlgraphics.apache.org/fop/. | FOP is required for PDF output. | `fop` | `fop` | `fop`
Java (j2re) | Possibly Required |  | FOP requires Sun's Java runtime (GCJ does not work with FOP). You can download it from http://java.sun.com. | Sun's Java runtime (j2re) is required to use FOP. | Download the package from Sun. | Download the package from Sun. |
JAI | Possibly Required |  | Sun's Java Advanced Imaging API can be downloaded from http://java.sun.com/products/java-media/jai/iio.html. | JAI is required if you wish to include graphics in a PDF file being generated with FOP. | Download the package from Sun. | Download the package from Sun. |

If you install j2re, set the JAVA_HOME environment variable to the top directory of the j2re installation. If you encounter problems with the Java installation, you may also need to add this path to the CLASSPATH environment variable.