Skip to content

Instantly share code, notes, and snippets.

@AnjaneyuluBatta505
Forked from faniska/wkhtmltopdf.sh
Created December 6, 2018 13:40
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save AnjaneyuluBatta505/4ff2044f129513591fc0a23686b8cf8e to your computer and use it in GitHub Desktop.
Save AnjaneyuluBatta505/4ff2044f129513591fc0a23686b8cf8e 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
@dearsina
Copy link

dearsina commented Oct 7, 2020

There are newer versions of the binary files now. You can alwasy find the latest here:
https://wkhtmltopdf.org/downloads.html

@Orient23
Copy link

Orient23 commented Jul 7, 2023

how can i install wkhtmltopdf unpatched qt version ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment