Created
June 30, 2018 14:11
-
-
Save akhmadkresna/9a61fb89c13ccbb1c55a0ae2d303af81 to your computer and use it in GitHub Desktop.
wkhtmltopdf install on ubuntu 18.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb | |
sudo dpkg -i wkhtmltox_0.12.1.3-1~bionic_amd64.deb | |
sudo apt-get install -f | |
sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin | |
sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin |
AbhishekJadav2
commented
Jul 16, 2020
•
Good with everything, please can you help me with this little problem.
root@ip-172-31-34-110:/home/odoo# sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb
--2020-07-23 09:50:15-- https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb
Resolving builds.wkhtmltopdf.org (builds.wkhtmltopdf.org)... failed: Name or service not known.
wget: unable to resolve host address ‘builds.wkhtmltopdf.org’
There is a brand new version, build for Ubuntu 18.04. Just point to the new *.deb file.
Same script, updated link. Here it goes:
sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb sudo apt-get install -f sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin
that one solved my issue
great job bro
apt-get -y update && apt-get install --fix-missing -y wkhtmltopdf
$ uname -a Linux 5dbfb55cf44e 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 GNU/Linux $ cat /etc/issue Debian GNU/Linux 10 \n \l $ wkhtmltopdf --version wkhtmltopdf 0.12.5
nice... thanks .. it's simple
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment