Installing wkhtmltopdf

Discover our Public Cloud offer

Shared Hosting for Everyone, imagined by developers, for developers.

Discovering the Public Cloud

wkhtmltopdf provides two tools from the command line for returning HTML in PDF and image formats.

In our example, we use the SSH access and consider the following information:

  • Account name: foo

  • wkhtmltopdf directory: $HOME/wkhtmltopdf/

    foo@ssh:~/wkhtmltopdf$ wget
    foo@ssh:~/wkhtmltopdf$ dpkg -x wkhtmltox_0.12.6-1.buster_amd64.deb .

Binary files will be available in the $HOME/wkhtmltopdf/usr/local/bin/ directory.

Take the last stable version available.