Skip to content

[Howto]: Install wkhtmltopdf on Apple M1 #936

Description

@chieroz

Have you already checked elsewhere?

What are you struggling with?

I cannot find a way to install wkhtmltopdf on my MacBook Pro with M1 chip. Everything was fine on my old Intel machine.

What have you tried already?

I tried this:

wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_arm64.deb
sudo dpkg -i wkhtmltox_0.12.6.1-2.bullseye_arm64.deb

but I got this error:

dpkg: dependency problems prevent configuration of wkhtmltox:
 wkhtmltox depends on xfonts-75dpi; however:
  Package xfonts-75dpi is not installed.
 wkhtmltox depends on xfonts-base; however:
  Package xfonts-base is not installed.

dpkg: error processing package wkhtmltox (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 wkhtmltox

I tried with different packages but with no success.

Thank you for you help.

What is your goal?

I want to use wkhtmltopdf with Snappy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions