Installing OpenSceneGraph on Ubuntu

If you use the Synaptic Package Manager in Ubuntu 9.04 to install OpenSceneGraph, by default it will install version 2.4.x. However if you want to install OpenSceneGraph 2.8.1 then you need to do the following in a terminal:

  1. Modify the file /etc/apt/sources.list (make sure you run it via sudo something like: sudo gedit /etc/apt/sources.list)
  2. Add the following two lines in the end and save the file:
    1. deb ./
    2. deb-src ./ 
  3. Run in the terminal: sudo apt-get update
  4. And finally run: sudo apt-get install openscenegraph