Installing dependencies from ppa
sudo apt-get install libpcre++-dev libopenscenegraph-dev openscenegraph libboost-python-dev python python-dev python-numpy ipython python-scipy python-sympy liblapack-dev liblapacke-dev libode-dev libbullet-dev libsoqt4-dev libgmp3-dev libmpfr-dev libmpfi-dev collada-dom2.4-dp* assimp-utils
Then go to the library folder
mkdir build
cd build
cmake ..
make install
After installation add the following to the .bashrc file
export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
source `openrave-config --share-dir`/openrave.bash