Created
December 2, 2012 15:39
-
-
Save leite/4189368 to your computer and use it in GitHub Desktop.
Install wkhtmltopdf step by step in debian based linux
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 apt-get install openssl build-essential xorg libssl-dev libxrender-dev libqt4-dev qt4-dev-tools | |
wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1.tar.bz2 | |
tar xjf wkhtmltopdf-0.11.0_rc1.tar.bz2 | |
cd wkhtmltopdf-0.11.0_rc1 | |
make | |
sudo make install |
oneliner produção
cd /home/ubuntu/temp/; curl -LO http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-i386.tar.bz2; tar -xjvf wkhtmltopdf-0.9.9-static-i386.tar.bz2; sudo cp wkhtmltopdf-i386 /usr/bin/wkhtmltopdf;rm -f wkhtmltopdf-*
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
staging cagou
jeito foi pegar o binário direto, 0.9 ao invés do 0.11:
http://code.google.com/p/wkhtmltopdf/downloads/detail?name=wkhtmltopdf-0.9.9-static-amd64.tar.bz2&can=2&q=
se for 32bits:
http://code.google.com/p/wkhtmltopdf/downloads/detail?name=wkhtmltopdf-0.9.9-static-i386.tar.bz2&can=2&q=