wiki:InstallationGuidelines/PhantomJS

Version 7 (modified by Fran Boon, 10 years ago) ( diff )

--

Install PhantomJS

This is required for UserGuidelines/Admin/MapPrinting.

This is not available in Debian Wheezy, and the version in Debian SID (unstable) is too old so we can need to build from source:

apt-get update
apt-get -y install build-essential chrpath git-core libssl-dev libfontconfig1-dev libxft-dev libfreetype6-dev
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-source.zip
unzip phantomjs-1.9.8-source.zip
cd phantomjs-1.9.8
./build.sh --confirm
cp -f bin/phantomjs /usr/bin/

For Windows or Mac, can download the binary & place in the path:

Note: See TracWiki for help on using the wiki.