Skip to main content

Install phantomjs in ubuntu 14.04.5

Find the below-mentioned steps to configure phantomjs in ubuntu Mahcine:

root@ubuntu:/motadata/motadata/phantomjs# cd /usr/local/share/

root@ubuntu:/usr/local/share# wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86\_64.tar.bz2

root@ubuntu:/usr/local/share# tar xjf phantomjs-2.1.1-linux-x86\_64.tar.bz2

root@ubuntu:/usr/local/share# ln -s /usr/local/share/phantomjs-2.1.1-linux-x86\_64/bin/phantomjs /usr/local/share/phantomjs

root@ubuntu:/usr/local/share# ln -s /usr/local/share/phantomjs-2.1.1-linux-x86\_64/bin/phantomjs /usr/local/bin/phantomjs

root@ubuntu:/usr/local/share# ln -s /usr/local/share/phantomjs-2.1.1-linux-x86\_64/bin/phantomjs /usr/bin/phantomjs

root@ubuntu:/usr/local/share# cd

root@ubuntu:~# phantomjs -v

2.1.1