Sunday, 10 April 2016

Install Wkhtmltopdf on ubuntu 32/64 bit

Install Wkhtmltopdf

Go to the below url:
http://wkhtmltopdf.org/downloads.html

Go to the Stable section and click on 32-bit / 64- bit as per system architecture for linux.

open terminal.

unzip downloaded file.

follow below commands.

1- cd
2- sudo tar -vxf ~/Downloads/wkhtmltox-0.12.3_linux-generic-i386.tar.xz [32 bit]
or sudo tar -vxf ~/Downloads/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz [64 bit]
3- sudo cp wkhtmltox/bin/wkhtmltopdf /usr/bin/
4- sudo chown root:root /usr/bin/wkhtmltopdf
5- sudo chmod +x /usr/bin/wkhtmltopdf

No comments:

Post a Comment