Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Wkhtmltopdf With Patched QT Setup Ubuntu 16+
cd ~
apt-get install libfontenc1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig -y
#https://github.com/wkhtmltopdf/wkhtmltopdf/releases
#replace arch
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
apt --fix-broken install
@sivanaharon
Copy link

sivanaharon commented Oct 19, 2018

You are my hero. I spent so long trying to figure out how to do this properly and this script works perfectly!

@controljud
Copy link

controljud commented Jul 2, 2019

Man, you rule!

@danielnogueira-dev
Copy link

danielnogueira-dev commented Jul 2, 2019

thanks for help!

@douglasgsouza
Copy link

douglasgsouza commented Jul 9, 2019

Thank you!

@fabianof
Copy link

fabianof commented Oct 2, 2019

It worked like a charm. Thanks a lot.

@amelotrgr
Copy link

amelotrgr commented Jan 21, 2020

Perfect. Thanks for sharing.

@FrankL-git
Copy link

FrankL-git commented Feb 1, 2020

Wow! Thank you so much!

@JuanCrg90
Copy link

JuanCrg90 commented Feb 21, 2020

Thanks!

@Mosallamy
Copy link

Mosallamy commented Mar 7, 2020

Thank you so much. I had an issue where wkhtmltopdf on Ubuntu generated a different style than the one on mac, this totally fixed it 👍👍

@thechip007
Copy link

thechip007 commented May 20, 2020

Ur fucking genius man

@thechip007
Copy link

thechip007 commented May 20, 2020

thanks for the help

@bf
Copy link

bf commented Dec 20, 2020

Thank you so much! It still worked with Ubuntu 18.04 at the end of 2020!

@pablosebastianr
Copy link

pablosebastianr commented Dec 21, 2020

Freaking awesome. Just did this on Debian buster.
Thanks!

@sifat-bs23
Copy link

sifat-bs23 commented Jun 14, 2021

Thanks a Ton!!!!!!!

@jaydevvaghela943
Copy link

jaydevvaghela943 commented Nov 11, 2021

You save my day. Thanks Man

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