Created
June 8, 2016 07:43
-
-
Save mldk-tech/4577cc9278c730418dc71b55c7fcfa1f 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
sudo apt-get update | |
sudo apt-get install -y build-essential chrpath libssl-dev libxft-dev | |
sudo apt-get install -y libfreetype6 libfreetype6-dev | |
sudo apt-get install -y libfontconfig1 libfontconfig1-dev | |
cd ~ | |
export PHANTOM_JS="phantomjs-2.1.1-linux-x86_64" | |
wget https://github.com/Medium/phantomjs/releases/download/v2.1.1/$PHANTOM_JS.tar.bz2 | |
tar xvjf $PHANTOM_JS.tar.bz2 | |
mv $PHANTOM_JS /usr/local/share | |
ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin | |
phantomjs --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment