Skip to content

Instantly share code, notes, and snippets.

@slackday
Last active April 12, 2019 12:44
Show Gist options
  • Save slackday/95c2417c8f91c8a9a26dce24977825f2 to your computer and use it in GitHub Desktop.
Save slackday/95c2417c8f91c8a9a26dce24977825f2 to your computer and use it in GitHub Desktop.
Install wkhtmltopdf 0.12.5-1 on bento/ubuntu-18.04
sudo apt-get install -y software-properties-common && \
sudo apt-add-repository -y "deb http://security.ubuntu.com/ubuntu bionic-security main" && \
sudo add-apt-repository ppa:malteworld/ppa && \
sudo apt-get -yq update && \
sudo apt-get install -y pdftk libxrender1 libfontconfig1 libx11-dev libjpeg62 libxtst6 \
                           fontconfig xfonts-75dpi xfonts-base libpng16-16 xvfb && \
wget "https://downloads.wkhtmltopdf.org/0.12/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 -f install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment