How do I update LibreOffice to next point release in 14.04?

I want to update my LibreOffice (whole package). Is there a way to do it without uninstalling old and then installing new?

If there is no option for updating directly, how should I do it otherwise? I don't want to keep the old version.


Solution 1:

To get the latest version of LibreOffice (the one not directly located in the Ubuntu Repositories) add the libre ofice PPA.

sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get dist-upgrade

This should upgrade you to the latest version of Libre Office available. Do note that the 4.3 package is not YET added to the PPA.

Solution 2:

The PPA mentioned by jbuch14 is bleeding edge and not for you if you just want the 4.3 LibreOffice release.

For that, use

sudo add-apt-repository ppa:libreoffice/libreoffice-4-3
sudo apt-get update
sudo apt-get dist-upgrade

This leaves you stuck on 4.3 until you decide to switch in a new repo and repeat this process but it will ensure you get all the release quality 4.3 updates without risking loading in libreoffice alpha or beta code.

See this page for what the latest ppa is.

Solution 3:

The preferred way is to use the PPA, as answered by Jbuch14 above. The 4.3 packages aren't there yet, but should be in short order. The maintainer will have probably fixed packaging errors, (if any) and worked out the dependencies, but...

If you can't wait, and feel brave and adventurous, remove the 4.2 version, get the debs from http://www.libreoffice.org/download/libreoffice-fresh/, and install them "directly".

Here is an example of how it's done:

  • removing - sudo apt-get purge libreoffice*

  • downloading - LibreOffice_4.3.0_Linux_x86_deb.tar.gz

  • right-click, select Extract here to extract

  • installing - cd LibreOffice_4.3.0_Linux_x86_deb/DEBS; sudo dpkg -i *.deb

PS: You can choose the desired language here.

Solution 4:

I've been researching this for the last 2 hours. It seems that everyone just gives a small piece of the puzzle. I have Ubuntu 14.04 with LibreOffice already installed (version 4.2.8). I want to completely remove my old version of LibreOffice and update to the latest stable version. This will not be the latest stable as defined by Ubuntu. Otherwise you would just use Ubuntu Software Center. What I don't want is the bleeding edge version which is released for people who want to report bugs and help in the development process. I just want the latest version that works. So here are my COMPLETE steps. I welcome anyone to comment on how this process can be improved:

  1. Open a terminal by the keys ctrl-alt T
  2. Enter this sequence of commands:
sudo apt-get purge libreoffice* 
sudo apt-get clean
sudo apt-get autoremove
sudo add-apt-repository ppa:libreoffice/ppa 
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install libreoffice

LibreOfficeAbout.png

This was my result.

Solution 5:

Those who, like me, do not want to update the whole system, can use Jbuch14 answer with one slight change

sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get install libreoffice #<--- line that changed

I've just updated LibreOffice with this command and now I am on 4.4.0.3 (Ubuntu 14.04 x64).