Created
February 16, 2016 19:43
-
-
Save dineshsprabu/543de6b41a7597967ea7 to your computer and use it in GitHub Desktop.
[PhantomJS] Installing PhantomJS 2.0 on Ubuntu 14.04 x64
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
cd ~ | |
/* Below is the direct download link for compiled binary */ | |
wget https://github.com/Pyppe/phantomjs2.0-ubuntu14.04x64/raw/master/bin/phantomjs | |
/* Making PhantomJS accessible */ | |
mv ~/phantomjs /usr/local/share/phantomjs | |
ln -s /usr/local/share/phantomjs /usr/local/bin/phantomjs | |
ln -s /usr/local/share/phantomjs /usr/bin/phantomjs | |
/* [Optional] if any error, try to install below dependencies */ | |
apt-get install build-essential g++ flex bison gperf ruby perl libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev libpng-dev libjpeg-dev | |
sudo apt-get install libicu52 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment