Installation of wkhtmltopdf v0.12.5 for Laravel-Snappy Ubuntu 16.04 Open up your Ubuntu terminal and create a new .sh file: sudo nano wkhtmltopdf_install.sh Now add the following code in it: echo -e "\n---- Install WkHtmlToPdf 0.12.5 ----"