答案1
wkhtmltopdf
在作者的帮助下找到了答案github
apt-get update
apt-get install -y --force-yes xvfb
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/wkhtmltopdf /usr/bin
rm wkhtmltox-0.12.4_linux-generic-amd64.tar.xz && rm -rf wkhtmltox
谢谢阿什库尔茨