Skip to content

Instantly share code, notes, and snippets.

@rahman541
Forked from isogram/wkhtmltopdf_wkhtmltoimage.md
Last active October 19, 2017 14:56
Show Gist options
  • Save rahman541/9225192ed2c1ccab50320c3863b049d0 to your computer and use it in GitHub Desktop.
Save rahman541/9225192ed2c1ccab50320c3863b049d0 to your computer and use it in GitHub Desktop.
How to manually install Wktohtmlpdf and Wkhtmltoimage in Ubuntu Server

Install Wkhtmltopdf and Wkhtmltoimage in Ubuntu

sudo apt-get install xz-utils
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz -P ~/
tar -xvf ~/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz -C ~/
cd ~/wkhtmltox/bin/
sudo mv wkhtmltopdf  /usr/bin/wkhtmltopdf
sudo mv wkhtmltoimage  /usr/bin/wkhtmltoimage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment