Skip to content

Instantly share code, notes, and snippets.

@yajra
Last active May 5, 2024 14:21
Show Gist options
  • Star 41 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save yajra/80ae402e2084191cd1f6e17fa581320e to your computer and use it in GitHub Desktop.
Save yajra/80ae402e2084191cd1f6e17fa581320e to your computer and use it in GitHub Desktop.
Install wkhtmltopdf 0.12.4 (with patched qt)
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
mv wkhtmltox/bin/wkhtmlto* /usr/bin/
ln -nfs /usr/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf
@nedvajz
Copy link

nedvajz commented Oct 8, 2020

Very helpful script, thanks !

@sifat-bs23
Copy link

Thanks a ton!!!!

@apitop
Copy link

apitop commented Jun 26, 2021

Thanks to @wni5378 I adapt its post to debian buster 10 and it worked :
apt-get install -y wget xfonts-75dpi
(note : I didn't need more packages, but I had already a lot of packages installed)
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb
dpkg -i wkhtmltox_0.12.5-1.buster_amd64.deb
cp /usr/local/bin/wkhtmltopdf /usr/bin/
cp /usr/local/bin/wkhtmltoimage /usr/bin/

@Khant-NyarxG-Next
Copy link

how i can get 0.12.6 with patched qt in my docker

@QaidjoharBarbhaya
Copy link

Thank you :)

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