wget http://download.gna.org/wkhtmltopdf/0.12/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
tar -xvf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
cd wkhtmltox/bin/
sudo mv wkhtmltopdf /usr/bin/wkhtmltopdf
sudo mv wkhtmltoimage /usr/bin/wkhtmltoimage
-
-
Save isogram/1b39fa91f34e35e66c84fe066cc37577 to your computer and use it in GitHub Desktop.
updated wget:
wget https://downloads.wkhtmltopdf.org/0.12/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
Another update:
https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
Is only the bin needed?
Updated script for 0.12.4:
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
cd ./wkhtmltox
cp -R ./* /usr/
Little correction for comment above.
cd ./wkhtmltox - wrong version
cd ./wkhtmltox/bin - right version
Amazing, thanks!
Life saver, needed the latest version and this provided exactly what I needed
Thanks! Works for me. I just need to change the path to
sudo mv wkhtmltopdf /usr/local/bin/wkhtmltopdf
sudo mv wkhtmltoimage /usr/local/bin/wkhtmltoimage
and also put this on our server
sudo apt-get install libfontconfig1 libxrender1
#fliespl muchas gracias, y gracias a todos... por sus aportes sigue activo y funciona bien...
https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
Great! Thank you!