Skip to content

Instantly share code, notes, and snippets.

@zhm
Last active September 7, 2017 16:18
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 zhm/1e08c09353da83517a65ff413ded96ff to your computer and use it in GitHub Desktop.
Save zhm/1e08c09353da83517a65ff413ded96ff to your computer and use it in GitHub Desktop.
Install wkhtmltpdf on Linux
#!/usr/bin/sh
DOWNLOAD_URL="https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz"
cd ~
wget $DOWNLOAD_URL -O ~/wkhtmltox.tar.xz
tar -xvf ~/wkhtmltox.tar.xz
# fulcrum reports --org 'ORG NAME' --form 'FORM NAME' --wkhtmltopdf "$HOME/wkhtmltox/bin/wkhtmltopdf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment