Skip to content

Instantly share code, notes, and snippets.

@zdne
Last active January 20, 2023 15:43
Show Gist options
  • Save zdne/6391879 to your computer and use it in GitHub Desktop.
Save zdne/6391879 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
@kerrermanisNL
Copy link

Awesome, thanks for the support :)

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