Install ChromeDriver
- Install unzip
sudo apt-get install unzip - Download latest version from official website and upzip it (here for instance, to
~/Downloads)
wget -N http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip -P ~/Downloads unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads - Make it executable and move to
/usr/local/share
chmod +x ~/Downloads/chromedriver sudo mv -f ~/Downloads/chromedriver /usr/local/share/chromedriver - Create symbolic links
sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver
Install PhantomJS
- Download latest version from official website and extract it (here for instance, to
~/Downloads)
wget -N https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 -P ~/Downloads tar xjf ~/Downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 -C ~/Downloads - Move the folder to
/usr/local/share
sudo mv -f ~/Downloads/phantomjs-1.9.7-linux-x86_64 /usr/local/share/phantomjs-1.9.7-linux-x86_64 - Create symbolic links
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs