The Qpdf package contains command-line programs and a library that does structural, content-preserving transformations on PDF files.
![[Note]](../images/note.png)
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/qpdf/qpdf/releases/download/v11.6.3/qpdf-11.6.3.tar.gz
Download MD5 sum: 83476f0def930a138bf80d88f51db1cd
Download size: 18 MB
Estimated disk space required: 253 MB (add 1 MB for tests)
Estimated build time: 0.5 SBU (using parallelism=4; add 0.5 SBU for tests)
ghostscript-10.02.1, GnuTLS-3.8.2, libtiff-4.6.0, sphinx-7.2.6 with sphinx_rtd_theme-1.3.0, and texlive-20230313 or install-tl-unx
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.6.3 \
.. &&
makeTo test the results, issue: ctest.
Now, as the root user:
make install