Install PhantomJS on Ubuntu30 Jan 2013
cd /usr/local/share/ sudo wget http://phantomjs.googlecode.com/files/phantomjs-1.8.1-linux-x86_64.tar.bz2 sudo tar jxvf phantomjs-1.8.1-linux-x86_64.tar.bz2 sudo ln -s /usr/local/share/phantomjs-1.8.1-linux-x86_64/ /usr/local/share/phantomjs sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
The steps are straight forward, but let me explain them anyways. Hop into the share folder. Download the latest at the time of this post (1.8.1) into the share. Unzip the file. Symlink the unzipped directory to phatomjs. Symlink the phatomjs executable (though the previous symlink) into the /usr/local/bin. If everything worked, then you should see it when running the following.