Created
September 10, 2019 06:35
-
-
Save inogo/d8d5c6f7e26d3f654e9193656fc7978a to your computer and use it in GitHub Desktop.
Build QPDF 8.4 from sources (Ubuntu 18 Bionic)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run as root | |
apt-get update && apt-get install -y wget unzip | |
BUILD_DEPS='build-essential zlib1g-dev libjpeg-dev make' | |
apt-get install -y $BUILD_DEPS --no-install-recommends \ | |
&& wget -q https://github.com/qpdf/qpdf/archive/release-qpdf-8.4.2.zip \ | |
&& unzip -q release-qpdf-8.4.2.zip && rm release-qpdf-8.4.2.zip \ | |
&& cd qpdf-release-qpdf-8.4.2 && ./configure && make && make install && ldconfig \ | |
&& cd .. && rm -rf qpdf-release-qpdf-8.4.2 | |
# optional remove build deps | |
apt-get purge -y --auto-remove $BUILD_DEPS && apt-get clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment