If you have installed a pre-released version of LibreOffice and you get errors, or you simply want to remove LibreOffice to replace it with OpenOffice, or you got bored of your secretary work and you don’t want LibreOffice anymore, this is the correct method of uninstalling LibreOffice:
This command will remove all the LibreOffice and LibreOffice asociated files from your system.
$ sudo apt-get remove --purge libreoffice*
$ sudo apt-get clean
$ sudo apt-get autoremove
This method works for all the Debian based Linux distributions, such as: Ubuntu, Knoppix, Linux Mint, Damn Small Linux, Crunchbag.