Skip to content

Instantly share code, notes, and snippets.

@larrybotha
Forked from sdbondi/install_wkhtmltoimage.sh
Last active August 29, 2015 14:27
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 larrybotha/66b40cb851b9f84fca8b to your computer and use it in GitHub Desktop.
Save larrybotha/66b40cb851b9f84fca8b to your computer and use it in GitHub Desktop.
Install wkhtmltoimage
#!/usr/bin/env bash
set -eo pipefail
DEPS='openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig xfonts-75dpi libjpeg-turbo8'
echo $DEPS | xargs apt-get -y install
rm -f /tmp/wkhtmltox-0.12.1_linux-trusty-amd64.deb
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb -P /tmp
dpkg -i /tmp/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment