How to install QPDF on Ubuntu 16.04

# compile

mkdir -p "$HOME/tmp/tar_gz"
cd "$HOME/tmp/tar_gz"
if [[ ! -f "$HOME/tmp/tar_gz/release-qpdf-7.1.1.tar.gz" ]]; then
  wget -O "$HOME/tmp/tar_gz/release-qpdf-7.1.1.tar.gz" "https://github.com/qpdf/qpdf/archive/release-qpdf-7.1.1.tar.gz"
fi
tar xf "$HOME/tmp/tar_gz/release-qpdf-7.1.1.tar.gz"
cd "$HOME/tmp/tar_gz/qpdf-release-qpdf-7.1.1/"
make clean
make distclean
./autogen.sh
./configure --enable-doc-maintenance
make

# install

sudo make install
sudo ldconfig

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.