Skip to content

Getting Started Installing wkhtmltopdf

kurko edited this page Jul 12, 2011 · 4 revisions

Suggested steps:

  1. Remove wkhtmltopdf installed using apt-get previously. sudo apt-get remove --purge wkhtmltopdf

  2. Install dependencies. sudo apt-get install openssl build-essential xorg libssl-dev

  3. Download the static binary as per the architecture (i386/amd64) wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-i386.tar.bz2

  4. tar xvjf wkhtmltopdf-0.9.9-static-i386.tar.bz2

  5. sudo chown root:root wkhtmltopdf-i386

  6. sudo cp wkhtmltopdf-i386 /usr/bin/wkhtmltopdf