Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Installing PhantomJS 1.9 on Ubuntu 12.xx x64/x86
sudo apt-get remove phantomjs
sudo unlink /usr/local/bin/phantomjs
sudo unlink /usr/local/share/phantomjs
sudo unlink /usr/bin/phantomjs
cd /usr/local/share
sudo wget
tar xjf phantomjs-1.9.0-linux-x86_64.tar.bz2
sudo ln -s /usr/local/share/phantomjs-1.9.0-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs; sudo ln -s /usr/local/share/phantomjs-1.9.0-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs; sudo ln -s /usr/local/share/phantomjs-1.9.0-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
phantomjs -v

This worked for me, after installing fontconfig (on Ubuntu 14). Thanks!

how to test the sreen resolution using this in ubuntu

pageres [ 1000x1000 --crop ] [ 500x500 ]
parse error
am getting like this
give any solution for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment