| | 1 | = Install PhantomJS = |
| | 2 | |
| | 3 | This is required for UserGuidelines/Admin/MapPrinting. |
| | 4 | |
| | 5 | This is not avaialble in Debian Wheezy, but is in Debian SID (unstable) so we can use [http://jaqque.sbih.org/kplug/apt-pinning.html apt-pinning]: |
| | 6 | {{{ |
| | 7 | cat << EOF >> "/etc/apt/sources.list" |
| | 8 | deb http://http.debian.net/debian jessie main |
| | 9 | deb http://http.debian.net/debian sid main |
| | 10 | EOF |
| | 11 | cat << EOF > "/etc/apt/preferences.d/preferences" |
| | 12 | Package: * |
| | 13 | Pin: release a=stable |
| | 14 | Pin-Priority: 700 |
| | 15 | |
| | 16 | Package: * |
| | 17 | Pin: release a=testing |
| | 18 | Pin-Priority: 650 |
| | 19 | |
| | 20 | Package: * |
| | 21 | Pin: release a=unstable |
| | 22 | Pin-Priority: 600 |
| | 23 | EOF |
| | 24 | apt-get update |
| | 25 | echo "reject 1st option (don't install), accept 2nd (use Testing to upgrade)" |
| | 26 | aptitude install phantomjs |
| | 27 | }}} |