Create a gist now

Instantly share code, notes, and snippets.

Installing PhantomJS 1.9 on Ubuntu 12.xx x64/x86
#!/bin/bash
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 https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2
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
@MaxwellRebo

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

@sarathkumar123

how to test the sreen resolution using this in ubuntu

@sarathkumar123

pageres [ todomvc.com 1000x1000 --crop ] [ yeoman.io 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