Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dineshsprabu/543de6b41a7597967ea7 to your computer and use it in GitHub Desktop.
Save dineshsprabu/543de6b41a7597967ea7 to your computer and use it in GitHub Desktop.
[PhantomJS] Installing PhantomJS 2.0 on Ubuntu 14.04 x64
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