Created
April 22, 2013 10:41
-
-
Save shapeshed/5433860 to your computer and use it in GitHub Desktop.
PhantomJS & CasperJS install script
Tested on Ubuntu 12.04 (32-bit)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd /usr/local/share | |
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-i686.tar.bz2 | |
tar -xjf /usr/local/share/phantomjs-1.9.0-linux-i686.tar.bz2 | |
sudo ln -sf /usr/local/share/phantomjs-1.9.0-linux-i686/bin/phantomjs /usr/local/bin/phantomjs | |
git clone git://github.com/n1k0/casperjs.git /usr/local/src/casperjs | |
cd /usr/local/src/casperjs | |
git checkout tags/1.0.2 | |
ln -sf /usr/local/src/casperjs/bin/casperjs /usr/local/bin/casperjs | |
phantomjs --version | |
casperjs --version |
That's also work in my case on vagrant box add precise64
(Ubuntu 12.04 64-bit)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
really usefull