Install wkhtmltopdf on Debian 11

1. Install prerequisites: Install wget (if not already installed):

# sudo apt update
# sudo apt install wget

2. Install wkhtmltopdf on Debian 11

The links below contain the latest releases as of 10/25/2022. Please double check GitHub for the latest available release: https://github.com/wkhtmltopdf/packaging/releases/latest

# wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_amd64.deb
# sudo apt install ./wkhtmltox*bullseye_amd64.deb

Check that the version installed is what you were expecting:

# wkhtmltopdf --version
wkhtmltopdf 0.12.6.1 (with patched qt)
Share

Leave a Reply

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