I have downloaded the package like this wget https://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.10.0_rc2-static-amd64.tar.bz2but when I run the installation commandtar -xvzf wkhtmltopdf-0.10.0_rc2-static-amd64.tar.bz2 -C /optI get the following errorgzip: stdin: not in gzip formattar: Child returned status 1tar: Error is not recoverable: exiting nowAnyone know how I can fix this?
Installing wkhtmltopdf in CentOS 6 x64
centos
You need to decompress the file using the j option:tar -xjvf wkhtmltopdf-0.10.0_rc2-static-amd64.tar.bz2 -C /optThe j option is used to decompress and extract the contents of the compressed archive created by bzip2 program (files which extension is tar.bz2).