Skip to content

Instantly share code, notes, and snippets.

  • Select an option

  • Save vmdao/5f596d585c23e3a0805ab10c49ac9793 to your computer and use it in GitHub Desktop.

Select an option

Save vmdao/5f596d585c23e3a0805ab10c49ac9793 to your computer and use it in GitHub Desktop.

Revisions

  1. Steve renamed this gist Aug 3, 2017. 1 changed file with 0 additions and 0 deletions.
  2. Steve renamed this gist Aug 3, 2017. 1 changed file with 0 additions and 0 deletions.
  3. Steve created this gist Aug 3, 2017.
    12 changes: 12 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    You can check [here](https://github.com/wkhtmltopdf/wkhtmltopdf/releases/) for getting the latest version.
    Change the wget url to download newer versions.

    ```
    $ 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
    $ cd wkhtmltox/bin/
    $ sudo mv wkhtmltopdf /usr/bin/wkhtmltopdf
    $ sudo mv wkhtmltoimage /usr/bin/wkhtmltoimage
    $ sudo chmod a+x /usr/bin/wkhtmltopdf
    $ sudo chmod a+x /usr/bin/wkhtmltoimage
    ```