Skip to content

Instantly share code, notes, and snippets.

@reinink
Created May 15, 2014 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reinink/ab314d6b1c6344317cb6 to your computer and use it in GitHub Desktop.
Save reinink/ab314d6b1c6344317cb6 to your computer and use it in GitHub Desktop.
How to install PhantomJS
# 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