Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save emaraschio/3dc7afe3e22ff4eec54f to your computer and use it in GitHub Desktop.
Save emaraschio/3dc7afe3e22ff4eec54f to your computer and use it in GitHub Desktop.
How to install phantomjs in a vagrant precise32 machine
sudo apt-get install phantomjs
cd /usr/bin
sudo wget https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-i686.tar.bz2
sudo tar xjf phantomjs-1.9.2-linux-i686.tar.bz2
sudo ln -s phantomjs-1.9.2-linux-i686/bin/phantomjs /usr/local/share/phantomjs
sudo ln -s phantomjs-1.9.2-linux-i686/bin/phantomjs /usr/local/bin/phantomjs
sudo rm phantomjs
sudo ln -s phantomjs-1.9.2-linux-i686/bin/phantomjs /usr/bin/phantomjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment