Skip to content

Instantly share code, notes, and snippets.

@guipdutra
Last active August 15, 2024 15:17
Show Gist options
  • Save guipdutra/5272679 to your computer and use it in GitHub Desktop.
Save guipdutra/5272679 to your computer and use it in GitHub Desktop.
Installing Phantom JS 1.9.0 on Ubuntu 32bit or 64bit.
For 32-bit system
use phantomjs-1.9.0-linux-i686.tar.bz2
For 64-bit system
use phantomjs-1.9.0-linux-x86_64.tar.bz2
Go to the SHARE directory
cd /usr/local/share
Push file from google code
sudo wget http://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-i686.tar.bz2
Extract the files to directory
sudo tar xjf phantomjs-1.9.0-linux-i686.tar.bz2
Move files to Phantom's directory
sudo ln -s /usr/local/share/phantomjs-1.9.0-linux-i686/bin/phantomjs /usr/local/share/phantomjs;
sudo ln -s /usr/local/share/phantomjs-1.9.0-linux-i686/bin/phantomjs /usr/local/bin/phantomjs;
sudo ln -s /usr/local/share/phantomjs-1.9.0-linux-i686/bin/phantomjs /usr/bin/phantomjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment