Spyderserve Web Development

wkhtmltopdf Installation on Centos [Quick Notes]

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 Dependencies

sudo yum install -y xorg-x11-fonts-75dpi xorg-x11-fonts-Type1

2. Install wkhtmltopdf

wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-centos6-amd64.rpm
rpm -Uvh wkhtmltox-0.12.2.1_linux-centos6-amd64.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  PO Box 5831 Valdosta, Georgia 31603 United States