How to install PhantomJS on Ubuntu Version: 1.9.8 Platform: x86_64 First, install or update to the latest system software. sudo apt-get update sudo apt-get install build-essential chrpath libssl-dev libxft-dev