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
Without giving us any information about your setup like what distro you're on, is quite impossible to know. But try using
yum
instead ofapt
for example.You should use Google and search for your problem, takes just a second..