This question has been flagged
1 Reply
2869 Views

I am trying to install Odoo in a Raspberry Pi 4 (with raspberry pi OS). Odoo dosumentatios said that

"wkhtmltopdf is not installed through pip and must be installed manually in version 0.12.5 for it to support headers and footers. See our wiki for more details on the various versions."

But there is not a version for the ARM architecture. There is "Source code" version at "https://github.com/wkhtmltopdf/wkhtmltopdf/releases/tag/0.12.5"

How can I install wkhtmltopdf from that Source code version in my Raspberry Pi?

Avatar
Discard

I ran into exact the same problem.
Did you ever solve it?

Best Answer

For future reference I found a working solution for RPi.

First : wget https://github\.com/wkhtmltopdf/packaging/releases/download/0\.12\.6\-1/wkhtmltox_0\.12\.6\-1\.raspberrypi\.buster_armhf\.deb

Second\ : sudo\ apt\ install\ \./wkhtmltox_0.12.6-1.raspberrypi.buster_armhf.deb

Fairly easy.

Avatar
Discard