Created
October 24, 2013 13:16
-
-
Save westonwatson/7137110 to your computer and use it in GitHub Desktop.
phantomjs and casperjs install on Ubuntu
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
| apt-get update | |
| apt-get -y install libfontconfig | |
| wget http://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2 | |
| tar -xvf phantomjs-1.9.1-linux-x86_64.tar.bz2 | |
| sudo mv phantomjs-1.9.1-linux-x86_64 /usr/local/src/phantomjs | |
| rm phantomjs-1.9.1-linux-x86_64.tar.bz2 | |
| sudo ln -sf /usr/local/src/phantomjs/bin/phantomjs /usr/local/bin/phantomjs | |
| phantomjs --version | |
| cd /usr/local/src/ | |
| sudo git clone git://github.com/n1k0/casperjs.git | |
| sudo ln -sf /usr/local/src/casperjs/bin/casperjs /usr/local/bin/casperjs | |
| casperjs --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment