Created
January 16, 2016 16:53
-
-
Save nl5887/6b111e3ae46d4e28430f to your computer and use it in GitHub Desktop.
building phantomjs on amazon linux
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
| cd /usr/local/src/ | |
| yum install -y tmux vim | |
| yum groupinstall 'Development Tools' | |
| yum install libicu-devel libpng-devel libjpeg-turbo-devel freetype-devel | |
| yum install gperf libX11-devel | |
| wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-source.zip | |
| unzip phantomjs-2.0.0-source.zip | |
| cd phantomjs-2.0.0 | |
| CFLAGS=-I/usr/include/freetype2/ ./build.sh | |
| yum install fontconfig-devel | |
| bin/phantomjs | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment