Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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? P.S. I don't want to keep the old version.

share|improve this question
1  
Try sudo apt-get install libreoffice. That updates libreoffice package. –  Filip Sohajek Aug 1 at 9:28
1  
AFAIK the libre-office installer automatically removes the older version. From your question it's not clear if you want to keep the older version too. Please edit your question to clarify. –  hmayag Aug 1 at 9:38
    
@FilipSohajek I have done what you told me and restarted my computer. It maybe updated libreoffice package, but it definitely hasn't updated LibreOffice (since it's 4.2 again). –  Muhamed Huseinbašić Aug 1 at 10:13
    
Saying "It maybe updated libreoffice" and "but it definitely hasn't updated LibreOffice" in the same phrase is giving me only but confusion. –  Lucio Aug 31 at 17:09

5 Answers 5

up vote 17 down vote accepted

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.

share|improve this answer
    
It doesn't quite leave you on 4.3; if the version in another repository you have added (including the default repositories) moves past that from this repository, then that would become the source used. Hence if they forgot about this for a while and Ubuntu did a release of 4.4, they would get 4.4. –  Jon Hanna Oct 1 at 11:00

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.

share|improve this answer
2  
It's probably a good idea to mention that the 4.3 packages aren't there just yet. –  mikewhatever Aug 1 at 10:18
    
You mean that the 4.3 packages arent in the Repo yet? Huh, I actually wasn't aware of that. Either way, this is handy to do to always keep LibreOffice up to date. –  Jbuch14 Aug 1 at 10:21
    
@mikewhatever That explains that these commands (although executed successfully) didn't updated LibreOffice to 4.3 (it remained 4.2). Thanks however. P.S. Is this means that there is no way to update to 4.3 (stable) yet? –  Muhamed Huseinbašić Aug 1 at 10:28
2  
I would wait until the PPA is updated, but if you're impatient, you can download the .deb file from the libreoffice.org site and install it with Software Center. –  To Do Aug 1 at 12:06
1  
Wippy's comment - now it's above –  Tim Sep 23 at 16:40

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.

share|improve this answer
    
I have done this for years, and it works well. You may want to add instructions for how to download the help package as well, although in my experience the download page always offers both the relevant language pack and the help pack. The main package must be installed first, followed by the language pack (if not US English), followed by the help pack. –  Paddy Landau Aug 5 at 9:51

Everything is here in official documentation: https://wiki.ubuntu.com/LibreOffice#Installing_a_newer_version_of_LibreOffice_than_available_via_Ubuntu_repositories

I just updated LibreOffice 4.2 to 4.3 myself (Ubuntu 14.04.1 LTS), following those instructions. Contrary to a lot of misleading information on the web, it is really totally simple and you do not have to remove anything or delete your customizations etc. So to upgrade 4.2 to 4.3 while keeping all your settings all you have to do is:

$ sudo apt-get install python-software-properties

Then check out the PPA for very latest version of LibreOffice: https://launchpad.net/~libreoffice/+archive/ppa (below is for 4.3)

$ sudo add-apt-repository ppa:libreoffice/libreoffice-4-3

$ sudo apt-get update

$ sudo apt-get install libreoffice

share|improve this answer

A portable version of LibreOffice 4.3.0.4 has been recently released for 32-bit and 64-bit systems. The packages are built by probono on Sourceforge using AppImageKit. I've just uploaded LibreOffice 4.3 on my USB and it works flawlessly!

You can find LibreOffice 4.3.0.4 Portable here:

In order to run the office, just mark it as executable.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.