Skip to content

Instantly share code, notes, and snippets.

@sergii
Created February 25, 2014 11:45
Show Gist options
  • Save sergii/9207432 to your computer and use it in GitHub Desktop.
Save sergii/9207432 to your computer and use it in GitHub Desktop.
Install phantomjs on Ubuntu
This is exactly what I did.
cd /usr/local/share
wget http://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2
tar xjf phantomjs-1.9.2-linux-x86_64.tar.bz2
sudo ln -s /usr/local/share/phantomjs-1.9.2-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs
sudo ln -s /usr/local/share/phantomjs-1.9.2-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
sudo ln -s /usr/local/share/phantomjs-1.9.2-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
And finally when I do
phantomjs -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment