Introduction to Qpdf

The Qpdf package contains command-line programs and library that do structural, content-preserving transformations on PDF files.

This package is known to build and work properly using an LFS-8.2 platform.

Package Information

  • Download (HTTP): https://downloads.sourceforge.net/qpdf/qpdf-7.1.1.tar.gz

  • Download MD5 sum: d6f5aab023905499aaf4b47f63387667

  • Download size: 6.8 MB

  • Estimated disk space required: 69 MB (add 14 MB for tests)

  • Estimated build time: 0.2 SBU (with parallelism=4; add 0.4 SBU for tests)

Qpdf Dependencies


fop-2.2 and libxslt-1.1.32

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

Installation of Qpdf

Install Qpdf by running the following commands:

./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/qpdf-7.1.1 &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.


Installed Programs: fix-qdf, qpdf, and zlib-flate
Installed Library: libqpdf.so
Installed Directories: /usr/include/qpdf and /usr/share/doc/qpdf-7.1.1

Short Descriptions


is used to repair PDF files in QDF form after editing.


is used to convert one PDF file to another equivalent PDF file.


is a raw zlib compression program.


contains the Qpdf API functions.

Last updated on 2018-02-19 20:56:06 -0800