Skip to content

Instantly share code, notes, and snippets.

@adamtester
Last active April 12, 2019 16:58
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamtester/d15af94af3eee8706e87 to your computer and use it in GitHub Desktop.
Save adamtester/d15af94af3eee8706e87 to your computer and use it in GitHub Desktop.
Install wkhtmltopdf on Ubuntu 14.04+
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
sudo apt-get update
sudo apt-get install wkhtmltox
sudo apt-get -f install
sudo dpkg -i wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
wkhtmltopdf -V
rm wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
@chicortiz
Copy link

chicortiz commented Jan 22, 2017

Hi! I'm trying to execute "sudo apt-get install wkhtmltox" and got this:

"Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package wkhtmltox"

How to proceed to install it on Ubuntu 14.04? Thank you!

@oohwooh
Copy link

oohwooh commented Dec 22, 2017

Server is down.

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