Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save iifast1/018ebf54d6a05362f960463114c521b5 to your computer and use it in GitHub Desktop.
Save iifast1/018ebf54d6a05362f960463114c521b5 to your computer and use it in GitHub Desktop.
Install Wkhtmltopdf 0.12.5 on Ubuntu 20.04.3 LTS
  1. make sure you do upgrade and install dpkg or you will get errors if it's not already installed:
apt-get upgrade
apt install dpkg

then :

sudo apt-get --purge remove wkhtmltopdf
sudo apt autoremove
sudo apt update

Install Wkhtmltopdf 0.12.5 on Ubuntu 20.04

WKHtmlToPdf is a very common tool to generate PDF files from HTML code. In order to install version 0.12.5 (suitable for Odoo 14) on Ubuntu 20.04, just follow the below steps :

  • Download the package : wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb

  • Install the package : sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb

  • Fix dependencies : sudo apt install -f

That's all folks, now you're done !

@dbeljaarsWS
Copy link

@crisaianvergara i did this:

wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb

and it fixed it for me. ur maybe missing this depedency.

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