How do I update LibreOffice to next point release in 14.04?
Solution 1
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 2
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 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 extractinstalling -
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:
- Open a terminal by the keys ctrl-alt T
- 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
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).
Muhamed Huseinbašić
Updated on September 18, 2022Comments
-
Muhamed Huseinbašić over 1 year
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.
-
Admin almost 10 yearsTry
sudo apt-get install libreoffice
. That updates libreoffice package. -
hmayag almost 10 yearsAFAIK 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.
-
Muhamed Huseinbašić almost 10 years@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).
-
Lucio over 9 yearsSaying "It maybe updated libreoffice" and "but it definitely hasn't updated LibreOffice" in the same phrase is giving me only but confusion.
-
Muhamed Huseinbašić over 6 yearsYeah @Lucio, I guess I was convinced in a (wrong) idea that there is some difference between the two at the time. :D
-
Lucio over 6 years@MuhamedHuseinbašić no worries pal! We both learned a lot in these three years :-)
-
-
mikewhatever almost 10 yearsIt's probably a good idea to mention that the 4.3 packages aren't there just yet.
-
Jbuch14 almost 10 yearsYou 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.
-
Muhamed Huseinbašić almost 10 years@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?
-
thorstorm almost 10 yearsI 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.
-
Rajalakshmi over 9 yearsThis is a 'bleeding edge' repo. See my answer below for a stable libreoffice 4.3 repo.
-
Paddy Landau over 9 yearsI 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.
-
Tim over 9 yearsWippy's comment - now it's above
-
Jon Hanna over 9 yearsIt 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.