Skip to content

Instantly share code, notes, and snippets.

@artursapek
Created June 8, 2015 15:50
Show Gist options
  • 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