Skip to content

Instantly share code, notes, and snippets.

@kaustubhn
Created October 24, 2017 05:45
Show Gist options
  • Save kaustubhn/d6e671af0d98dad479baedf4d79cdde0 to your computer and use it in GitHub Desktop.
Save kaustubhn/d6e671af0d98dad479baedf4d79cdde0 to your computer and use it in GitHub Desktop.
Install PhantomJS on ubuntu
# Steps to install phantomjs on ubuntu16.04
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install build-essential chrpath libssl-dev libxft-dev libfreetype6-dev libfreetype6 libfontconfig1-dev libfontconfig1 -y
sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
sudo tar xvjf phantomjs-2.1.1-linux-x86_64.tar.bz2 -C /usr/local/share/
sudo ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment