Last active
July 4, 2018 23:51
Installing Phantom JS 1.8.1 on Ubuntu Precise Pangolin (12.04) (32 Bit)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go to the SHARE directory | |
cd /usr/local/share | |
Push file from google code | |
sudo wget http://phantomjs.googlecode.com/files/phantomjs-1.8.1-linux-i686.tar.bz2 | |
Extract the files to directory | |
sudo tar xjf phantomjs-1.8.1-linux-i686.tar.bz2 | |
Move files to Phantom's directory | |
sudo ln -s /usr/local/share/phantomjs-1.8.1-linux-i686/bin/phantomjs /usr/local/share/phantomjs; sudo ln -s /usr/local/share/phantomjs-1.8.1-linux-i686/bin/phantomjs /usr/local/bin/phantomjs; sudo ln -s /usr/local/share/phantomjs-1.8.1-linux-i686/bin/phantomjs /usr/bin/phantomjs | |
DONE, you have been installed PhantomJS on your Ubuntu! | |
(thanks to mpatrick for the orignal gist : https://gist.github.com/mpatrick/4998104) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The link to phantomjs is broken. Please, use this one:
https://repo1.maven.org/maven2/com/github/klieber/phantomjs/1.8.1/