Instantly share code, notes, and snippets.

Embed
What would you like to do?
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 comment has been minimized.

Show comment
Hide comment
@MaxwellRebo

MaxwellRebo Jul 8, 2014

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

MaxwellRebo commented Jul 8, 2014

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

@sarathkumar123

This comment has been minimized.

Show comment
Hide comment
@sarathkumar123

sarathkumar123 Oct 17, 2014

how to test the sreen resolution using this in ubuntu

sarathkumar123 commented Oct 17, 2014

how to test the sreen resolution using this in ubuntu

@sarathkumar123

This comment has been minimized.

Show comment
Hide comment
@sarathkumar123

sarathkumar123 Oct 17, 2014

pageres [ todomvc.com 1000x1000 --crop ] [ yeoman.io 500x500 ]
parse error
am getting like this
give any solution for this

sarathkumar123 commented Oct 17, 2014

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