The Qpdf package contains command-line programs and a library that does structural, content-preserving transformations on PDF files.
Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.
Download (HTTP): https://github.com/qpdf/qpdf/releases/download/v11.1.1/qpdf-11.1.1.tar.gz
Download MD5 sum: 5c52a77ffa95c9df4071272273acebca
Download size: 18 MB
Estimated disk space required: 249 MB (add 2 MB for tests)
Estimated build time: 0.4 SBU (using parallelism=4; add 0.5 SBU for tests)
fop-2.7, GnuTLS-3.7.8, and sphinx
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/qpdf
Install Qpdf by running the following commands:
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_STATIC_LIBS=OFF \
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/qpdf-11.1.1 \
.. &&
make
To test the results, issue: ctest.
Now, as the root user:
make install