wiki:InstallationGuidelines/PhantomJS

Version 10 (modified by Fran Boon, 8 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
python build.py
git checkout 2.1
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.