Skip to content

Instantly share code, notes, and snippets.

@SadeghPM
Forked from brunogaspar/README.md
Created February 2, 2019 17:03
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 SadeghPM/f67f42bf1498ee6d38ce2bf701d80c5a to your computer and use it in GitHub Desktop.
Save SadeghPM/f67f42bf1498ee6d38ce2bf701d80c5a to your computer and use it in GitHub Desktop.
Install wkhtmltopdf on Ubuntu (14.04 64-bit) or (16.04 64-bit)

Install wkhtmltopdf on Ubuntu

This was tested on:

  • Ubuntu 14.04 x64
  • Ubuntu 16.04 x64

Installation

sudo apt-get update
sudo apt-get install xvfb libfontconfig wkhtmltopdf

Test

Now it's time to test that everything is working as expected

wkhtmltopdf http://www.google.com google.pdf

If you see Done, then everything is installed correctly and you're ready to generate some PDF's :D

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