How to: Replace OpenOffice.org with LibreOffice on Ubuntu

Here are a few easy steps to replace openoffice.org with libreoffice on ubuntu:

CLI instructions (these will take care of removing OpenOffice.org and installing LibreOffice):

Add the PPA and install LibreOffice:

sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get install libreoffice 

For GNOME integration (for people running default Ubuntu):

sudo apt-get install libreoffice-gnome

or for KDE Integration (for people running Kubuntu):

sudo apt-get install libreoffice-kde

As of Ubuntu 11.04, LibreOffice will replace by default OpenOffice.