Installing wkhtmltopdf
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 https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb 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.