Skip to content

Instantly share code, notes, and snippets.

  • Save Edofre/87b2a7adfc2dde1bc630f27d95b73160 to your computer and use it in GitHub Desktop.
Save Edofre/87b2a7adfc2dde1bc630f27d95b73160 to your computer and use it in GitHub Desktop.
Installing wkhtmltopdf 0.12.4 - Ubuntu 16.04

You can check here for getting the latest version. Change the wget url to download newer versions.

$ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
$ tar -xvf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
$ cd wkhtmltox/bin/
$ sudo mv wkhtmltopdf /usr/bin/wkhtmltopdf
$ sudo mv wkhtmltoimage /usr/bin/wkhtmltoimage
$ sudo chmod a+x /usr/bin/wkhtmltopdf
$ sudo chmod a+x /usr/bin/wkhtmltoimage
@Edofre
Copy link
Author

Edofre commented Aug 2, 2018

$ wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.xenial_amd64.deb
$ sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb
$ cd ~/wkhtmltox/bin/
$ sudo mv wkhtmltopdf /usr/bin/wkhtmltopdf
$ sudo mv wkhtmltoimage /usr/bin/wkhtmltoimage
$ sudo chmod a+x /usr/bin/wkhtmltopdf
$ sudo chmod a+x /usr/bin/wkhtmltoimage

@Edofre
Copy link
Author

Edofre commented Aug 2, 2018

For forge, downgrade libssl.....
$ sudo apt-get install libssl1.0.0=1.0.2g-1ubuntu4
$ sudo apt-get install libssl-dev=1.0.2g-1ubuntu4

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