Skip to content

Instantly share code, notes, and snippets.

@billjohnston
Created March 21, 2013 16:24
Show Gist options
  • Save billjohnston/5214380 to your computer and use it in GitHub Desktop.
Save billjohnston/5214380 to your computer and use it in GitHub Desktop.
Install phantomjs on ubuntu
Download phantomjs binary from http://phantomjs.org/download.html
upload to home directory (or where-ever really)
Un-tar the file with:
********************
tar xvjf phantomjs-1.6.1-linux-i686-dynamic.tar.bz2
********************
Create a link to the /usr/local/bin/phantomjs file
********************
sudo ln -s ~/phantomjs-1.6.1/bin/phantomjs /usr/local/bin/phantomjs
********************
(May have to remove the old link, if updating: sudo rm -r /usr/local/bin/phantomjs)
Check with:
********************
phantomjs --version
********************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment