justinleveck
8/21/2013 - 6:36 AM

Install PhantomJS 1.9 on Ubuntu VM run: bash -c "$(curl -fsSL https://raw.github.com/gist/6291000)"

Install PhantomJS 1.9 on Ubuntu VM

run: bash -c "$(curl -fsSL https://raw.github.com/gist/6291000)"

cd ~/
 
wget http://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2
 
mv ~/phantomjs-1.9.0-linux-x86_64.tar.bz2 /usr/local/share
 
cd /usr/local/share
 
sudo tar xvf phantomjs-1.9.0-linux-x86_64.tar.bz2
 
sudo ln -s /usr/local/share/phantomjs-1.9.0-linux-x86_64 /usr/local/share/phantomjs
 
sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
 
phantomjs --version