Skip to content

Instantly share code, notes, and snippets.

  • Save hemantbadhe/aafcc7d1e0d05a733d34478f7072306d to your computer and use it in GitHub Desktop.
Save hemantbadhe/aafcc7d1e0d05a733d34478f7072306d to your computer and use it in GitHub Desktop.

Revisions

  1. Steve revised this gist Oct 23, 2019. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Change the wget url to download newer versions.
    |[wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64](#wkhtmltopdf-0124---ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.5 - macOS Mojave 10.14 & Catalina 10.15](#wkhtmltopdf-0125---mojave-1014-/-catalina1015)|
    |[wkhtmltopdf 0.12.5 - macOS Mojave 10.14 & Catalina 10.15](#wkhtmltopdf-0125---macos-mojave-1014--catalina-1015)|
    |[Install verification](#verify-that-it-is-working)|


  2. Steve revised this gist Oct 23, 2019. 1 changed file with 2 additions and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Change the wget url to download newer versions.
    |[wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64](#wkhtmltopdf-0124---ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 & Mojave 10.14](#wkhtmltopdf-0125---macos-high-sierra-10136--mojave-1014)|
    |[wkhtmltopdf 0.12.5 - macOS Mojave 10.14 & Catalina 10.15](#wkhtmltopdf-0125---mojave-1014-/-catalina1015)|
    |[Install verification](#verify-that-it-is-working)|


    @@ -56,7 +56,7 @@ sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb && \
    sudo apt-get -f install
    ```

    ## wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 / Mojave 10.14
    ## wkhtmltopdf 0.12.5 - macOS Mojave 10.14 / Catalina 10.15

    ### Prerequisites

  3. Steve revised this gist Jun 20, 2019. 1 changed file with 2 additions and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -33,7 +33,7 @@ $ sudo chmod a+x /usr/bin/wkhtmltoimage

    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64

    [credits to @vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131) and [@TurkerTunali](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2949332)
    Credits to [@vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131) and [@TurkerTunali](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2949332)

    ```shell
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.xenial_amd64.deb
    @@ -43,7 +43,7 @@ $ sudo apt -f install

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64

    credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)
    Credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)

    ```shell
    $ sudo apt-get install -y software-properties-common && \
  4. Steve revised this gist Jun 20, 2019. 1 changed file with 1 addition and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -33,8 +33,7 @@ $ sudo chmod a+x /usr/bin/wkhtmltoimage

    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64

    [credits to @vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131)
    [credits to @TurkerTunali](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2949332)
    [credits to @vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131) and [@TurkerTunali](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2949332)

    ```shell
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.xenial_amd64.deb
  5. Steve revised this gist Jun 20, 2019. 1 changed file with 3 additions and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -34,10 +34,11 @@ $ sudo chmod a+x /usr/bin/wkhtmltoimage
    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64

    [credits to @vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131)
    [credits to @TurkerTunali](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2949332)

    ```shell
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.trusty_amd64.deb
    $ sudo dpkg -i wkhtmltox_0.12.5-1.trusty_amd64.deb
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.xenial_amd64.deb
    $ sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb
    $ sudo apt -f install
    ```

  6. Steve revised this gist Apr 8, 2019. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -43,7 +43,7 @@ $ sudo apt -f install

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64

    credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)
    credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)

    ```shell
    $ sudo apt-get install -y software-properties-common && \
  7. Steve revised this gist Apr 8, 2019. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -43,7 +43,7 @@ $ sudo apt -f install

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64

    [credits to @J5Dev & @bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984)
    credits to [@J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984) and [@@bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2858646)

    ```shell
    $ sudo apt-get install -y software-properties-common && \
  8. Steve revised this gist Apr 8, 2019. 1 changed file with 4 additions and 4 deletions.
    Original file line number Diff line number Diff line change
    @@ -43,16 +43,16 @@ $ sudo apt -f install

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64

    [credits to @J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984)
    [credits to @J5Dev & @bcalik](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984)

    ```shell
    $ sudo apt-get install -y software-properties-common && \
    sudo apt-add-repository -y "deb http://security.ubuntu.com/ubuntu xenial-security main" && \
    sudo apt-add-repository -y "deb http://security.ubuntu.com/ubuntu bionic-security main" && \
    sudo apt-get -yq update && \
    sudo apt-get install -y libxrender1 libfontconfig1 libx11-dev libjpeg62 libxtst6 \
    fontconfig xfonts-75dpi xfonts-base libpng12-0 && \
    wget "https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.xenial_amd64.deb" && \
    sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb && \
    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
    ```

  9. Steve revised this gist Oct 28, 2018. 1 changed file with 4 additions and 4 deletions.
    Original file line number Diff line number Diff line change
    @@ -4,10 +4,10 @@ Change the wget url to download newer versions.
    | Install instructions |
    |---|
    |[wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64](#wkhtmltopdf-0124---ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 & Mojave 10.14](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125---macos-high-sierra-10136--mojave-1014)|
    |[Install verification](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#verify-that-it-is-working)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 & Mojave 10.14](#wkhtmltopdf-0125---macos-high-sierra-10136--mojave-1014)|
    |[Install verification](#verify-that-it-is-working)|


    ## wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64
  10. Steve revised this gist Oct 28, 2018. 1 changed file with 9 additions and 0 deletions.
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,15 @@
    You can check [here](https://github.com/wkhtmltopdf/wkhtmltopdf/releases/) for getting the latest version.
    Change the wget url to download newer versions.

    | Install instructions |
    |---|
    |[wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64](#wkhtmltopdf-0124---ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125----ubuntu-1604-x64)|
    |[wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125---ubuntu-1804-x64)|
    |[wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 & Mojave 10.14](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#wkhtmltopdf-0125---macos-high-sierra-10136--mojave-1014)|
    |[Install verification](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#verify-that-it-is-working)|


    ## wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64

    ### Prerequisites
  11. Steve revised this gist Oct 4, 2018. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -47,7 +47,7 @@ sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb && \
    sudo apt-get -f install
    ```

    ## wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6
    ## wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6 / Mojave 10.14

    ### Prerequisites

  12. Steve revised this gist Sep 4, 2018. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ Change the wget url to download newer versions.

    - libxrender1

    Credits to @danielghitoiu
    Credits to [danielghitoiu](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2594195)
    ```
    $ sudo apt-get install libxrender1
    ```
  13. Steve revised this gist Sep 4, 2018. 1 changed file with 9 additions and 0 deletions.
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,15 @@ Change the wget url to download newer versions.

    ## wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64

    ### Prerequisites

    - libxrender1

    Credits to @danielghitoiu
    ```
    $ sudo apt-get install libxrender1
    ```

    ```shell
    $ 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
  14. Steve revised this gist Aug 18, 2018. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -45,7 +45,7 @@ sudo apt-get -f install
    - [brew](brew.sh)

    ```shell
    $ brew cask install wkhtmltopdf
    $ brew update && brew cask install wkhtmltopdf
    ```
    ----------------------------------------------------------------------------------------------------------------------------
    ## Verify that it is working
  15. Steve revised this gist Aug 17, 2018. 1 changed file with 5 additions and 0 deletions.
    Original file line number Diff line number Diff line change
    @@ -52,7 +52,12 @@ $ brew cask install wkhtmltopdf

    ```shell
    $ wkhtmltopdf https://google.com google.pdf

    //Linux
    $ xdg-open google.pdf

    //MacOS
    $ open google.pdf
    ```

    #### Output
  16. Steve revised this gist Aug 17, 2018. 1 changed file with 2 additions and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -47,8 +47,8 @@ sudo apt-get -f install
    ```shell
    $ brew cask install wkhtmltopdf
    ```

    ### Verify that it is working
    ----------------------------------------------------------------------------------------------------------------------------
    ## Verify that it is working

    ```shell
    $ wkhtmltopdf https://google.com google.pdf
  17. Steve revised this gist Aug 17, 2018. 1 changed file with 2 additions and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -51,7 +51,8 @@ $ brew cask install wkhtmltopdf
    ### Verify that it is working

    ```shell
    $ wkhtmltopdf https://google.com google.pdf && xdg-open google.pdf
    $ wkhtmltopdf https://google.com google.pdf
    $ xdg-open google.pdf
    ```

    #### Output
  18. Steve revised this gist Aug 17, 2018. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -51,7 +51,7 @@ $ brew cask install wkhtmltopdf
    ### Verify that it is working

    ```shell
    $ wkhtmltopdf https://google.com google.pdf && open google.pdf
    $ wkhtmltopdf https://google.com google.pdf && xdg-open google.pdf
    ```

    #### Output
  19. Steve revised this gist Aug 16, 2018. 1 changed file with 2 additions and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,8 @@ sudo apt-get -f install

    ```shell
    $ brew cask install wkhtmltopdf
    ``
    ```

    ### Verify that it is working

    ```shell
  20. Steve renamed this gist Aug 16, 2018. 1 changed file with 0 additions and 0 deletions.
  21. Steve revised this gist Aug 16, 2018. 1 changed file with 1 addition and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -38,7 +38,7 @@ sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb && \
    sudo apt-get -f install
    ```

    ## wkhtmltopdf 0.12.5 - MacOS High Sierra
    ## wkhtmltopdf 0.12.5 - MacOS High Sierra 10.13.6

    ### Prerequisites

  22. Steve revised this gist Aug 16, 2018. 1 changed file with 11 additions and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -37,10 +37,20 @@ wget "https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.xenial_am
    sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb && \
    sudo apt-get -f install
    ```

    ## wkhtmltopdf 0.12.5 - MacOS High Sierra

    ### Prerequisites

    - [brew](brew.sh)

    ```shell
    $ brew cask install wkhtmltopdf
    ``
    ### Verify that it is working

    ```shell
    $ wkhtmltopdf https://google.com google.pdf
    $ wkhtmltopdf https://google.com google.pdf && open google.pdf
    ```

    #### Output
  23. Steve revised this gist Aug 9, 2018. 1 changed file with 17 additions and 0 deletions.
    Original file line number Diff line number Diff line change
    @@ -37,3 +37,20 @@ wget "https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.xenial_am
    sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb && \
    sudo apt-get -f install
    ```
    ### Verify that it is working

    ```shell
    $ wkhtmltopdf https://google.com google.pdf
    ```

    #### Output

    ```shell
    Loading pages (1/6)
    Counting pages (2/6)
    Resolving links (4/6)
    Loading headers and footers (5/6)
    Printing pages (6/6)
    Done
    ```

  24. Steve revised this gist Aug 9, 2018. 1 changed file with 7 additions and 2 deletions.
    Original file line number Diff line number Diff line change
    @@ -13,15 +13,20 @@ $ sudo chmod a+x /usr/bin/wkhtmltopdf
    $ sudo chmod a+x /usr/bin/wkhtmltoimage
    ```

    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64 [credits to @vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131)
    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64

    [credits to @vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131)

    ```shell
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.trusty_amd64.deb
    $ sudo dpkg -i wkhtmltox_0.12.5-1.trusty_amd64.deb
    $ sudo apt -f install
    ```

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64 - [credits to @J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984)
    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64

    [credits to @J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984)

    ```shell
    $ sudo apt-get install -y software-properties-common && \
    sudo apt-add-repository -y "deb http://security.ubuntu.com/ubuntu xenial-security main" && \
  25. Steve renamed this gist Aug 9, 2018. 1 changed file with 0 additions and 0 deletions.
  26. Steve renamed this gist Aug 9, 2018. 1 changed file with 0 additions and 0 deletions.
  27. Steve renamed this gist Aug 9, 2018. 1 changed file with 0 additions and 0 deletions.
  28. Steve revised this gist Aug 9, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Installing wkhtmltopdf 0.12.4 xor 0.12.5 - Ubuntu 16.04.md
    Original file line number Diff line number Diff line change
    @@ -13,15 +13,15 @@ $ sudo chmod a+x /usr/bin/wkhtmltopdf
    $ sudo chmod a+x /usr/bin/wkhtmltoimage
    ```

    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64 [credits to @vmdao](https://github.com/vmdao)
    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64 [credits to @vmdao](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2641131)

    ```shell
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.trusty_amd64.deb
    $ sudo dpkg -i wkhtmltox_0.12.5-1.trusty_amd64.deb
    $ sudo apt -f install
    ```

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64 - [credits to @J5Dev](https://github.com/J5Dev)
    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64 - [credits to @J5Dev](https://gist.github.com/srmds/2507aa3bcdb464085413c650fe42e31d#gistcomment-2668984)
    ```shell
    $ sudo apt-get install -y software-properties-common && \
    sudo apt-add-repository -y "deb http://security.ubuntu.com/ubuntu xenial-security main" && \
  29. Steve revised this gist Aug 9, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Installing wkhtmltopdf 0.12.4 xor 0.12.5 - Ubuntu 16.04.md
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@ $ sudo chmod a+x /usr/bin/wkhtmltopdf
    $ sudo chmod a+x /usr/bin/wkhtmltoimage
    ```

    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64
    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64 [credits to @vmdao](https://github.com/vmdao)

    ```shell
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.trusty_amd64.deb
  30. Steve revised this gist Aug 9, 2018. 1 changed file with 17 additions and 3 deletions.
    20 changes: 17 additions & 3 deletions Installing wkhtmltopdf 0.12.4 xor 0.12.5 - Ubuntu 16.04.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,8 @@ You can check [here](https://github.com/wkhtmltopdf/wkhtmltopdf/releases/) for g
    Change the wget url to download newer versions.

    ## wkhtmltopdf 0.12.4 - Ubuntu 16.04 x64
    ```

    ```shell
    $ 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/
    @@ -13,8 +14,21 @@ $ sudo chmod a+x /usr/bin/wkhtmltoimage
    ```

    ## wkhtmltopdf 0.12.5 - Ubuntu 16.04 x64
    ```

    ```shell
    $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.trusty_amd64.deb
    $ sudo dpkg -i wkhtmltox_0.12.5-1.trusty_amd64.deb
    $ sudo apt -f install
    ```
    ```

    ## wkhtmltopdf 0.12.5 - Ubuntu 18.04 x64 - [credits to @J5Dev](https://github.com/J5Dev)
    ```shell
    $ sudo apt-get install -y software-properties-common && \
    sudo apt-add-repository -y "deb http://security.ubuntu.com/ubuntu xenial-security main" && \
    sudo apt-get -yq update && \
    sudo apt-get install -y libxrender1 libfontconfig1 libx11-dev libjpeg62 libxtst6 \
    fontconfig xfonts-75dpi xfonts-base libpng12-0 && \
    wget "https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.xenial_amd64.deb" && \
    sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb && \
    sudo apt-get -f install
    ```