Skip to content

Instantly share code, notes, and snippets.

@GiorgosK
Created April 23, 2020 08:17
Show Gist options
  • Save GiorgosK/f097053d4e941293bcbc93ed406ab422 to your computer and use it in GitHub Desktop.
Save GiorgosK/f097053d4e941293bcbc93ed406ab422 to your computer and use it in GitHub Desktop.
How to install casperjs and phantomjs on Ubuntu
# tested on ubuntu 18.04 but should work for different versions as well
sudo apt-get update -y
sudo apt install phantomjs
phantomjs --version
cd /usr/lib
sudo git clone git://github.com/casperjs/casperjs.git
sudo ln -s /usr/lib/casperjs/bin/casperjs /usr/bin/casperjs
casperjs --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment