Last active
February 18, 2025 00:30
-
-
Save Rajeshr34/2e9b2438ff142e51c729b4b9b772680a to your computer and use it in GitHub Desktop.
Wkhtmltopdf With Patched QT Setup Ubuntu 16+
This file contains 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
cd ~ | |
apt-get install libfontenc1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig -y | |
#https://github.com/wkhtmltopdf/wkhtmltopdf/releases | |
#replace arch | |
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb | |
dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb | |
apt --fix-broken install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From Cortex on StackOverflow (https://stackoverflow.com/a/77218633/492132). Works on Ubuntu 24 as well:
Confirm it works with: