Skip to content

Instantly share code, notes, and snippets.

@artursapek
Created June 8, 2015 15:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artursapek/fdb264513ea55211e178 to your computer and use it in GitHub Desktop.
Save artursapek/fdb264513ea55211e178 to your computer and use it in GitHub Desktop.
Installing phantomjs 2.0 on Ubuntu 14.04
# Installing Phantomjs 2.0 can be kind of a pain. Their website claims they don't have
# any Linux binaries to share because of an unresolved dependency issue.
# However, someone going by eugene1g shared some binaries that he build that seem
# to work given a small amount of apt-get setup. https://github.com/eugene1g/phantomjs
sudo su
apt-get update
apt-get install unzip libfontconfig libjpeg-turbo8
cd /tmp
wget https://github.com/eugene1g/phantomjs/releases/download/2.0.0-bin/phantomjs-2.0.0-ubuntu_x86_64.zip
unzip phantomjs-2.0.0-ubuntu_x86_64.zip -d .
mv phantomjs /usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment