Last active
September 3, 2020 12:57
-
-
Save Edofre/a3ad0d72a4a01b3dd4a7b8fb8ff81647 to your computer and use it in GitHub Desktop.
Homestead WKHTMLTOPDF
This file contains 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://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb | |
sudo dpkg -i wkhtmltox_0.12.6-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 | |
Verify with: | |
wkhtmltopdf http://www.google.com google.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment