Installing PhantomJS on the Raspberry Pi
10 Feb 2015First lets make sure you are in your home directory.
cd ~then…
git clone https://github.com/piksel/phantomjs-raspberrypi.gitIt’s a big binary. She’ll be busy for a bit.
Now we’ll want to apply permissions to run it
chmod -x ~/phantomjs-raspberrypi/bin/phantomjsalso…
chmod 775 ~/phantomjs-raspberrypi/bin/phantomjsNow symlink it your bin directory.
sudo ln -s /home/pi/phantomjs-raspberrypi/bin/phantomjs /usr/bin/Now you can use the ‘phantomjs’ command!
GitHub Repo https://github.com/piksel/phantomjs-raspberrypi/blob/master/bin/phantomjs