Skip to content

Instantly share code, notes, and snippets.

@lobermann
Created June 25, 2019 20:16
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save lobermann/ca0e7bb2558b3b08923c6ae2c37a26ce to your computer and use it in GitHub Desktop.
Save lobermann/ca0e7bb2558b3b08923c6ae2c37a26ce to your computer and use it in GitHub Desktop.
Install wkhtmltopdf on headless ubuntu 18 vps
wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
apt-get install fontconfig libxrender1 xfonts-75dpi xfonts-base
dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
@jjb
Copy link

jjb commented Jan 30, 2020

if you use gdebi you can leave out step for installing the dependencies (and be more confident that the correct ones are installed)

apt-get install gdebi-core
gdebi --non-interactive wkhtmltox_0.12.5-1.bionic_amd64.deb

@28ayushsharma
Copy link

Thanks worked for me on ubuntu 18.04 ec2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment