This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install dependencies (if needed) | |
| $ yum install -y xorg-x11-fonts-75dpi | |
| $ yum install -y xorg-x11-fonts-Type1 | |
| $ yum install xz | |
| # Get latest version of wkhtmltopdf (replace version number if needed) | |
| $ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz | |
| # Untar and move wkhtmltox | |
| $ unxz wkhtmltox-0.12.4_linux-generic-amd64.tar.xz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum install -y libpng | |
| yum install -y libjpeg | |
| yum install -y openssl | |
| yum install -y icu | |
| yum install -y libX11 | |
| yum install -y libXext | |
| yum install -y libXrender | |
| yum install -y xorg-x11-fonts-Type1 | |
| yum install -y xorg-x11-fonts-75dpi |