Skip to content

Instantly share code, notes, and snippets.

@3mrdev
Forked from faniska/wkhtmltopdf.sh
Created April 23, 2018 20:57
Show Gist options
  • Save 3mrdev/d6f06538f244d6418701f9b4e08cd5f5 to your computer and use it in GitHub Desktop.
Save 3mrdev/d6f06538f244d6418701f9b4e08cd5f5 to your computer and use it in GitHub Desktop.
Install wkhtmltopdf with patched QT on Ubuntu Linux
# Uncomment the next line if you have installed wkhtmltopdf
# sudo apt remove wkhtmltopdf
cd ~
# Select an appropriate link for your system (32 or 64 bit) from the page https://wkhtmltopdf.org/downloads.html and past to the next line
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xvf wkhtmltox*.tar.xz
sudo mv wkhtmltox/bin/wkhtmlto* /usr/bin
sudo apt-get install -y openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment