Skip to content

Instantly share code, notes, and snippets.

@shellprog
Forked from nghuuphuoc/gist:8282411
Last active September 14, 2015 13:40
Show Gist options
  • Save shellprog/0aeb63d38d84bae88d07 to your computer and use it in GitHub Desktop.
Save shellprog/0aeb63d38d84bae88d07 to your computer and use it in GitHub Desktop.
Install wkhtmltopdf on Centos 6 x64
$ wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2
$ tar xvjf wkhtmltopdf-0.9.9-static-amd64.tar.bz2
$ mv wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf
// In case you got the issue
// wkhtmltopdf: error while loading shared libraries:
// libfontconfig.so.1: cannot open shared object file: No such file or directory
//
// run the command below:
$ yum install urw-fonts libXext libXrender fontconfig libfontconfig.so.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment