On 10.10 how do I get rid of Openoffice.org, and install LibreOffice without borking my system?
There is an official LibreOffice PPA for Ubuntu 10.10 and 10.04 (the upcoming 11.04 will have LibreOffice by default).
You need to add
ppa:libreoffice/ppa in your software sources to add it to the software center, just follow the instructions for the GUI way.
Quick and dirty CLI instructions (these will remove OpenOffice.org):
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
If you are using Ubuntu do not download the .deb files for manual installation, there is a PPA repository that has been available for a few weeks now. Follow these instructions to install LibreOffice from the PPA so you get automatic updates.
Keep in mind a PPA is always considered a third-party application and unfit for production purposes, however LibreOffice is becoming part of Ubuntu officially in the next release, due in April 2011, so the PPA will get a lot of attention and care. Make sure you test this and perhaps wait a few weeks if you intend to use this in 10.04 LTS or 10.10 in any significant way.
Additional language modules, help files and extensions are also available if you search for libreoffice in your package manager.
[If you get an "unmet dependencies" error, you probably need to uninstall openoffice (the installation of LibreOffice will continue automatically immediately after openoffice is purged from the system)] sudo apt-get purge "openoffice*.*"
[Also note: I got an error about Java : you may want to check that is installed before installing LibreOffice]
As described in the Ubuntu Forum, you need to remove the OpenOffice packages with
sudo apt-get remove openoffice*.*
Download LibreOffice from: LibreOffice Downloads
Extract the file to ~/Desktop
Rename the file to libreoffice
sudo dpkg -i ~/Desktop/libreoffice/DEBS/*.deb sudo dpkg -i ~/Desktop/libreoffice/DEBS/desktop-integration/libreoffice3.3-debian-menus_3.3-9526_all.deb