Skip to content

Instantly share code, notes, and snippets.

@rbecheras
Forked from zdne/install.sh
Created June 27, 2017 08:15
Show Gist options
  • Save rbecheras/ca7c61dba63b996fc5c16504f9482c68 to your computer and use it in GitHub Desktop.
Save rbecheras/ca7c61dba63b996fc5c16504f9482c68 to your computer and use it in GitHub Desktop.
Install phantomjs 1.9.1 x64 on Ubuntu Precise
$ sudo apt-get install libfontconfig
$ cd /usr/local/share
$ sudo wget https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2
$ sudo tar xjf phantomjs-1.9.1-linux-x86_64.tar.bz2
$ sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs
$ sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
$ sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
$ sudo rm -rf phantomjs-1.9.1-linux-x86_64
$ sudo rm /usr/local/share/phantomjs
$ sudo rm /usr/local/bin/phantomjs
$ sudo rm /usr/bin/phantomjs
@rbecheras
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment