⚡ This Site is Updated Every Day

Install wkhtmltopdf on Ubuntu

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 😀

 


 

another way

 

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

(tested in ubuntu 14.04 x64)


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.