Thanks to Martin Pitt , who maintains the packages for Ubuntu, nstalling the latest version of PostgreSQL on Ubuntu (Lucid) is nothing more than updating your /etc/apt/sources.list with
deb http://ppa.launchpad.net/pitti/postgresql/ubuntu lucid main deb-src http://ppa.launchpad.net/pitti/postgresql/ubuntu lucid mainplus
apt-get updateand
apt-get installpostgresql-9.0I recommend reading the release notes and he outstanding good postgresql documentation.