Spyderserve Web Development

Here is a quick step by step guide to installing wkhtmltopdf on Centos 6.  Make sure to have root access to the system.

1. Install font Dependencies

sudo yum install -y xorg-x11-fonts-75dpi xorg-x11-fonts-Type1 libXext libXrender ghostscript-fonts texlive-texmf-errata-fonts texlive-texmf-fonts urw-fonts

2. Install wkhtmltopdf

wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox-0.12.5-1.centos6.x86_64.rpm
rpm -Uvh wkhtmltox-0.12.5-1.centos6.x86_64.rpm

3. Test

wkhtmltopdf www.google.com google.pdf

Source: https://jaimegris.wordpress.com/2015/03/03/how-to-install-wkhtmltopdf-in-centos-6-5/

Spyderserve  2225 Bemiss Road Suite D Valdosta, Georgia 31602 United States