**1.****Check the current version of wkhtmltopdf**

**1.1 -**Navigate to the directory:

1. \_lib/prod/third/wkhtmltopdf/linux-amd64/linux-amd64

**1.2 -**Then, run the following command to check the installed version:

1. ./wkhtmltopdf-amd64 --version

![Quote](https://static.zohocdn.com/zoho-desk-editor/static/images/quote.png/)

The returned version will possibly be 12.04.

**2.****Download of the new version**

Access the library's official website at the link below and download the version corresponding to your operating system:

[wkhtmltopdf.org/downloads.html](http://wkhtmltopdf.org/downloads.html)

**3.****Extract the downloaded file**

After the download, extract the file using the following commands:"

1. mkdir wkhtmltox\_extraido sudo dpkg-deb -x wkhtmltox\_0.12.6-1.xenial\_amd64.deb wkhtmltox\_extraido

**4.****Copy and replace the file**

**4.1 -** **Navigate to the newly created directory:**

1. wkhtmltox\_extraido/usr/local/bin

**4.2 -**Copy the wkhtmltopdf file to the destination directory:

1. \_lib/prod/third/wkhtmltopdf/linux-amd64

**5.** **Rename the files**

Modify the filenames as needed:

**Rename the wkhtmltopdf file to wkhtmltopdf-amd64.**

![Alert](https://static.zohocdn.com/zoho-desk-editor/static/images/exclamation.png/)

The old file, named wkhtmltopdf-amd64, should be renamed to another name that doesn't cause a conflict.