Skip to content

Instantly share code, notes, and snippets.

@mlabrum
Created January 12, 2011 03:39
Show Gist options
  • Save mlabrum/775655 to your computer and use it in GitHub Desktop.
Save mlabrum/775655 to your computer and use it in GitHub Desktop.
# How to install wkhtmltopdf on centos 64bit
yum install xz urw-fonts libXext openssl-devel libXrender
wget http://code.google.com/p/wkhtmltopdf/downloads/detail?name=wkhtmltopdf-0.10.0_rc1-static-amd64.tar.lzma&can=2&q=
xz -d wkhtmltopdf-0.10.0_rc1-static-amd64.tar.lzma
tar -xvf wkhtmltopdf-0.10.0_rc1-static-amd64.tar
cp wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf
#to test
wkhtmltopdf google.com ~/test.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment