Hi,
I am trying to install the Frappe Framework on a clean Ubuntu 24.04 VM using the instructions from here: Installation When I get to the bit where it asks me to install this โ> Download and install wkhtmltopdf package from https://wkhtmltopdf.org/downloads.html, then run this command to install the package.
sudo dpkg -i wkhtmltox_file.deb
I picked the closest one for 22.04 jammy and using wget downloaded it. When I install with dpkg -i I get errors about unmet dependencies namely
The following packages have unmet dependencies:
wkhtmltox : Depends: libjpeg62-turbo but it is not installable
Depends: libssl1.1 but it is not installable
I dont know how to resolve this error. Please help!
Craig
@crtalbot The error happens because older wkhtmltox packages look for libssl1.1 and libjpeg62-turbo, which Ubuntu 24.04 no longer supports.
Run these commands in your terminal to fix it:
# 1. Clean up the broken package attempt
sudo apt clean && sudo apt autoremove -y
# 2. Install required fonts and dependencies
sudo apt update
sudo apt install -y xfonts-75dpi xfonts-base fontconfig libxrender1
# 3. Download the specific Jammy build (compatible with 24.04)
wget https://github.com
# 4. Install using apt (not dpkg) to auto-resolve dependencies
sudo apt install ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb -y
# 5. Create symlinks so Frappe can find the binaries
sudo ln -sf /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
sudo ln -sf /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage
Then check version wkhtmltopdf --version. It should output wkhtmltopdf 0.12.6.1

2 Likes
Thank you for the detailed help
1 Like