Last active
August 29, 2015 14:19
-
-
Save jakemauer/99227bc5f7c0fef375f2 to your computer and use it in GitHub Desktop.
PhantomJS 2.0 installer for Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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