Tuesday, January 26, 2010

Install Player/Stage in Ubuntu 9.10

Download software
  • Download Player 3.0.1
  • Download Stage 3.2.2
  • Run sudo aptitude install gnome-core-devel build-essential
  • Run sudo apt-get install gsl-bin libgsl0-dev cmake libfltk1.1-dev libglu1-mesa-dev
Install Player
  • unzip player
  • inside player directory mkdir build
  • cd build
  • cmake ..
  • make
  • sudo make install
Install Stage
  • unzip stage
  • inside stage directory mkdir build
  • cd build
  • cmake ..
  • make
  • sudo make install
Export directories
  • edit your ~/.bashrc file by adding the following lines
  1. export PATH="$PATH:/usr/local/share/player/bin"
  2. export LD_LIBRARY_PATH=/usr/local/lib
  3. export STAGEPATH=/usr/local/lib
  4. export PLAYERPATH=/usr/local/lib
  • run "source ~/.bashrc" to reload the shell
Test
  • run "stage simple.world" from command line