This project provides a set of scripts and instructions to build wkhtmltopdf
from source on newer versions of Debian. wkhtmltopdf is a command-line tool
that renders HTML into PDF using the Qt WebKit rendering engine.
- Build
wkhtmltopdffrom source on Debian 12 (bookworm) dockeris only required dependency
Before you begin, ensure you have the following installed:
dockerfor building the repository
To build wkhtmltopdf, run the following command:
makeYou can also build an spercific version using
make VERSION=0.12.2.1This script will:
- Download the latest version of
wkhtmltopdf,opensslandqt - Compile the source code into
dist/