How To Install Wkhtmltopdf?

How To Install Wkhtmltopdf?

wkhtmltopdf

Command line utilities to convert html to pdf or image using WebKit

Maintainer: Emmanuel Bouthenot



Section: utils

Install wkhtmltopdf

  • Debian apt-get install wkhtmltopdf Click to copy
  • Ubuntu apt-get install wkhtmltopdf Click to copy
  • Arch Linux pacman -S wkhtmltopdf Click to copy
  • Kali Linux apt-get install wkhtmltopdf Click to copy
  • Fedora dnf install wkhtmltopdf Click to copy
  • Raspbian apt-get install wkhtmltopdf Click to copy

wkhtmltopdf

Command line utilities to convert html to pdf or image using WebKit

wkhtmltopdf is a command line program which permits one to create a pdf or an image from an url, a local html file or stdin. It produces a pdf or an image like rendered with the WebKit engine. This program requires an X11 server to run. It is not built against a forked version of Qt hence some options are not supported.

To install the latest version of wkhtmltopdf in your favorite operating system just copy the wkhtmltopdf installation command from above and paste it into terminal. It will download and install the latest version of wkhtmltopdf 2026 package in your OS.