Created
December 2, 2015 07:45
-
-
Save marcw/6b6b72784d2b9a2e6443 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
sudo apt-get install -qy build-essential g++ flex bison gperf ruby perl libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev libpng-dev libjpeg-dev python libx11-dev libxext-dev | |
sudo apt-get install -qy ttf-mscorefonts-installer | |
git clone --recurse-submodules git://github.com/ariya/phantomjs.git | |
cd phantomjs | |
git checkout 2.0.0 | |
./build.py | |
sudo mv bin/phantomjs /usr/local/bin/phantomjs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment