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


Install PhantomJS

This is required for UserGuidelines/Admin/MapPrinting.

This is not avaialble in Debian Wheezy, but is in Debian SID (unstable) so we can use apt-pinning:

cat << EOF >> "/etc/apt/sources.list"
deb jessie      main
deb sid         main
cat << EOF > "/etc/apt/preferences.d/preferences"
Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: 650

Package: *
Pin: release a=unstable
Pin-Priority: 600
apt-get update
echo "reject 1st option (don't install), accept 2nd (use Testing to upgrade)"
aptitude install phantomjs
Note: See TracWiki for help on using the wiki.