WKHTMLTOPDF Installation error on Ubuntu

前端 未结 3 2003
野趣味
野趣味 2021-01-31 11:11

We require features like header, footer, table of contents and cover page of pdf, which we want to generate from html/css. We tried WKHTML on windows and it worked like a charm

3条回答
  •  离开以前
    2021-01-31 11:39

    For those trying this now, the download.gna.org url no longer works, but the previous answers are still valid: I just had to install using the new location like so:

    wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
    tar xvJf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz 
    sudo cp wkhtmltox/bin/wkhtmlto* /usr/bin/
    

    Just did this on an Ubuntu 16.04.2 machine. Thanks for the original answer, Rasikh!

提交回复
热议问题