wiki:InstallationGuidelines/PhantomJS

Version 11 (modified by Fran Boon, 5 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 libicu-dev gperf bison ruby flex
git clone https://github.com/ariya/phantomjs
cd phantomjs
git checkout 2.1
python build.py
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.