Created
May 15, 2014 18:02
-
-
Save reinink/ab314d6b1c6344317cb6 to your computer and use it in GitHub Desktop.
How to install PhantomJS
This file contains 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
# Go to home folder | |
cd ~ | |
# Download file | |
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 | |
# Extract | |
tar -xvf phantomjs-1.9.7-linux-x86_64.tar.bz2 | |
# Copy phantomjs to bin folder | |
cp phantomjs-1.9.7-linux-x86_64/bin/phantomjs /bin | |
# Delete temporary files | |
rm phantomjs-1.9.7-linux-x86_64.tar.bz2 | |
rm -rf phantomjs-1.9.7-linux-x86_64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment