Skip to content

Instantly share code, notes, and snippets.

@eneldoserrata
Forked from ajaxray/wkhtmltopdf.sh
Last active April 24, 2018 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eneldoserrata/352bc506d193d6ec929506506007e626 to your computer and use it in GitHub Desktop.
Save eneldoserrata/352bc506d193d6ec929506506007e626 to your computer and use it in GitHub Desktop.
Install wkhtmltopdf with Patched QT for CentOS 7 or RHEL 7.x
cd ~
yum install -y xorg-x11-fonts-75dpi xorg-x11-fonts-Type1 openssl git-core fontconfig
wget https://downloads.wkhtmltopdf.org/0.12/0.12.1/wkhtmltox-0.12.1_linux-generic-amd64.tar.xz
tar xvf wkhtmltox-0.12.1_linux-generic-amd64.tar.xz
mv wkhtmltox/bin/wkhtmlto* /usr/bin
# Thanks to
# https://jaimegris.wordpress.com/2015/03/04/how-to-install-wkhtmltopdf-in-centos-7-0/
# https://gist.github.com/Rajeshr34/2e9b2438ff142e51c729b4b9b772680a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment