| 2 | |
| 3 | == Installation == |
| 4 | |
| 5 | === Prerequisities === |
| 6 | |
| 7 | These packages are required to compile SAGE on Ubuntu: |
| 8 | * build-essential |
| 9 | * mesa-utils |
| 10 | * python-wxtools |
| 11 | * libmagickwand-dev |
| 12 | * libreadline6-dev |
| 13 | * libsdl-dev |
| 14 | * libxmu-dev |
| 15 | * libxi-dev |
| 16 | * freeglut3-dev |
| 17 | * libglew1.5-dev |
| 18 | |
| 19 | To operate the wall using Wiimote also these libraries are required: |
| 20 | * wiiuse v.0.12 (http://downloads.sourceforge.net/project/wiiuse/wiiuse/v0.12/wiiuse_v0.12_src.tar.gz) |
| 21 | * wiiusecpp v.0.12 (http://www.missioncognition.net/downloads/wiiusecpp_v0.12_src.tar.gz) |
| 22 | More information about wiiusecpp can be found at http://www.missioncognition.net/software/wiiusecpp.html . |
| 23 | |
| 24 | Optionally, these packages are helpful in monitoring the system: |
| 25 | * ethtool |
| 26 | * iftop |
| 27 | |
| 28 | Before compiling SAGE make sure that the OpenGL library is linked properly in /usr/lib - some GPU drivers tend to break the links. |
| 29 | |
| 30 | === Compilation === |
| 31 | |
| 32 | To compile SAGE simple make nad sudo make install is required. |
| 33 | There is a configure script distributed with SAGE sources, but all it does is echo "DONE", so you don't have to run it. |
| 34 | |
| 35 | === Environment setup === |
| 36 | |
| 37 | After installation SAGE there is some environment setup required. |
| 38 | |
| 39 | 1. Environmental variables |
| 40 | * in .bashrc change one of the first lines from: |
| 41 | {{{ |
| 42 | [ -z "$PS1" ] && return |
| 43 | }}} |
| 44 | to: |
| 45 | {{{ |
| 46 | [ -z "$PS1" ] && . /etc/profile.d/sage.sh && return |
| 47 | }}} |
| 48 | This will setup all required environmental variables even if you don't start an interactive session but just run a command using ssh. |
| 49 | |
| 50 | == Usage == |