Created
October 1, 2016 12:54
-
-
Save tamaspap/f92a4725d56b2251a155f56b9612bf2e to your computer and use it in GitHub Desktop.
Install phantomjs on ubuntu 14.04
This file contains hidden or 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
cd /usr/local/share | |
sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 | |
sudo tar xjf phantomjs-1.9.7-linux-x86_64.tar.bz2 | |
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs | |
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs | |
## system wide | |
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs | |
phantomjs -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Probably needs
sudo apt-get -y install libfontconfig
? Otherwise it wil result in: