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:
Modify the file
/etc/apt/sources.list
(make sure you run it via sudo something like:sudo gedit /etc/apt/sources.list
)Add the following two lines in the end and save the file:
deb http://openscenegraph.dachary.org/packaging-farm/openscenegraph/gnulinux/debian/unstable/src ./
deb-src http://openscenegraph.dachary.org/packaging-farm/openscenegraph/gnulinux/debian/unstable/src ./
Run in the terminal:
sudo apt-get update
And finally run:
sudo apt-get install openscenegraph