Skip to content

Instantly share code, notes, and snippets.

@ajaxray
Forked from Rajeshr34/wkhtmltopdf.sh
Last active August 9, 2022 03:28
Show Gist options
  • Save ajaxray/e17c1ecd9ae9bb7310a2091e3db79616 to your computer and use it in GitHub Desktop.
Save ajaxray/e17c1ecd9ae9bb7310a2091e3db79616 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.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xvf wkhtmltox-0.12.4_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
@tommybutler
Copy link

why is git-core needed here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment