I previously installed wkhtmltopdf as follows:
Code:
wget https://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.10.0_rc2-static-amd64.tar.bz2
tar -xvzf wkhtmltopdf-0.10.0_rc2-static-amd64.tar.bz2 -C /opt
chmod +x wkhtmltopdf-amd64
mv wkhtmltopdf-amd64 /usr/local/bin/wkhtmltopdf
wkhtmltopdf no longer is hosted by googlecode, and I found a new version. Attempting to do the following resulted in errors due to the xz file type, but I eventually got it installed.
Code:
wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.0/wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz
tar -xvJf wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz -C /opt
The software is now installed at /opt/wkhtmltox/bin/wkhtmltopdf.
According to
http://www.linuxtopia.org/online_boo...ystem/opt.html, this is "This directory is reserved for all the software and add-on packages that are not part of the default installation" Should I leave it here and not move it to /usr/local/bin/wkhtmltopdf? Do I no longer need to make it executable using chmod as I originally did (also, why not)?
Thanks