Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wkhtmltopdf: No such file or directory [ Closed ]

I installed wkhtmltopdf from the following code

sudo apt-get install wkhtmltopdf

But when I am creating PDF then it is generating following error

Error: /bin/bash: /usr/bin/wkhtmltopdf: No such file or directory
like image 457
Salim Akhtar Avatar asked Aug 11 '17 04:08

Salim Akhtar


People also ask

What is Wkhtmltopdf package?

wkhtmltopdf is an open source (LGPLv3) command line tool to render HTML into PDF using the Qt WebKit rendering engine.


1 Answers

I think the correct path would be /usr/local/bin/wkhtmltopdf. You can get it by which wkhtmltopdf command.

like image 101
Styx Avatar answered Sep 19 '22 20:09

Styx