First Remove OpenOffice.

sudo apt-get purge openoffice*


Then, add repository of LibreOffice.
sudo apt-add-repository ppa:libreoffice/ppa

if it fails, due to firewall or anything else, try: (copy & paste)
sudo gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 36E81C9267FD1383FCC4490983FBA1751378B444

Finally update apt-source, and install libreoffice using apt-get
sudo apt-get update
sudo apt-get install libreoffice libreoffice-gnome

Voila~!!

+ Recent posts