Last Updated: February 25, 2016
·
2.322K
· treble37

Installing Phantomjs on Linux Mint 16, Asus 64 Bit Machine

Here are the steps I went through to install Phantomjs on Linux Mint 16, 64 Bit Desktop

For 64-bit system, download phantomjs-1.9.7-linux-x86_64.tar.bz2 (or the latest version)

From the directory in which you downloaded the phantomjs archive file, move it to /usr/local/share

sudo mv phantomjs-1.9.7-linux-x86_64.tar.bz2 /usr/local/share

Finally, setup the symoblic links

cd /usr/local/share

sudo tar xvf phantomjs-1.9.7-linux-x86_64.tar.bz2

sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64 /usr/local/share/phantomjs

sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs

To check if completed, just type: phantomjs --version at the command prompt

You should see "1.97"