Skip to content

Instantly share code, notes, and snippets.

@darkofabijan
Last active August 29, 2015 14:09
Show Gist options
  • Save darkofabijan/dbd1ab614fe26355eaf2 to your computer and use it in GitHub Desktop.
Save darkofabijan/dbd1ab614fe26355eaf2 to your computer and use it in GitHub Desktop.
Upgrade phantomjs
sudo rm -rf /usr/local/phantomjs-1.9.7-linux-x86_64/bin/phantomjs
sudo rm -rf /usr/local/bin/phantomjs
curl -OL https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
sudo tar -xjf phantomjs-1.9.8-linux-x86_64.tar.bz2 -C /usr/local/
sudo ln -s /usr/local/phantomjs-1.9.8-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
rm -rf phantomjs-1.9.8-linux-x86_64.tar.bz2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment