as root
------------------------------------------------------
wget the latest version
untar it (tar knows about compression now, you don't need to mention what type)
tar vxf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
rsync it into the /usr/local tree, preserving symlinks (have to do it this way because it was tarred from a subdirectory)
rsync -vlr wkhtmltox/* /usr/local/
symlink the binaries into /usr/bin (or adjust your path)
ln -s /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
ln -s /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage
test it
wkhtmltopdf -V
wkhtmltopdf 0.12.3 (with patched qt)
------------------------------------------------------
To run this headless (no gui on your server?) you will want xvfb
I also had to install these:
yum install -y zlib fontconfig freetype libX11 libXext libXrender
Then it worked
wkhtmltopdf -V
wkhtmltopdf 0.12.3 (with patched qt)
------------------------------------------------------
Need fonts? everything coming up squares?
yum install -y ghostscript