This was tested on:
- Ubuntu 14.04 x64
- Ubuntu 16.04 x64
sudo apt-get update
sudo apt-get install xvfb libfontconfig wkhtmltopdf
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
@joshuapinter I followed your step to install it. Seems installed but i get following error while checking --version
wkhtmltopdf: error while loading shared libraries: libXrender.so.1: cannot open shared object file: No such file or directory
& to solve that I followed below link. Which makes it finally work proper.
https://www.cyberciti.biz/faq/debian-ubuntu-linux-wkhtmltopdf-error-while-loading-shared-libraries-libxrender-so-1/