Skip to content

Instantly share code, notes, and snippets.

@jakemauer
Last active August 29, 2015 14:19
Show Gist options
  • Save jakemauer/99227bc5f7c0fef375f2 to your computer and use it in GitHub Desktop.
Save jakemauer/99227bc5f7c0fef375f2 to your computer and use it in GitHub Desktop.
PhantomJS 2.0 installer for Debian
echo deb http://ftp.us.debian.org/debian jessie main >> /etc/apt/sources.list
apt-get update
apt-get -y install libicu52 libjpeg-dev libfreetype6 libfontconfig unzip
mkdir -p /root/bin
curl -sL -o /root/bin/phantomjs-2.0.zip https://github.com/jakemauer/phantomjs/releases/download/2.0.0-debian-bin/phantomjs-2.0.0-debian-x86_64.zip
unzip /root/bin/phantomjs-2.0.zip -d /root/bin
rm -f /root/bin/phantomjs-2.0.zip
ln -s /root/bin/phantomjs /usr/bin/phantomjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment