Wednesday, October 24, 2012

PhantomJS on Debian Linux

This page shows how to install PhantomJS.

# Download here:

aptitude install chrpath git-core libssl-dev libfontconfig1-dev upx-nrv

# upx-nrv is an efficient live-compressor for executables


# change the directory
cd phantomjs-1.7.0



cd deploy
cp pathToFile/phantomjs-1.7.0/deploy/phantomjs-1.7.0-linux-i686.tar.bz2 pathToFolder

cd pathToFolder 

tar xvjf phantomjs-1.7.0-linux-i686.tar.bz2

phantomjs-1.7.0-linux-i686/bin/phantomjs phantomjs-1.7.0-linux-i686/examples/

# Hello, world!


No comments: