Score:6

How to update LibreOffice in Ubuntu 20.04?

cn flag

In Ubuntu 20.04 LTS, for general use, how to update LibreOffice from the default version installed by Canonical?

Are there reasons to leave it as is? I regularly use Software Updater to install recommended updates, and wonder why LibreOffice is still on an older version.

muru avatar
us flag
Does this answer your question? [Why don't the Ubuntu repositories have the latest versions of software?](https://askubuntu.com/questions/151283/why-dont-the-ubuntu-repositories-have-the-latest-versions-of-software)
Score:7
zw flag

It is opinion-based, but having newer version of LibreOffice is IMHO good because of new features.

To install newer LibreOffice you have to use their official PPA:

sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get install libreoffice
sudo apt-get dist-upgrade # to get newest dependencies for sure

As the result you will get 7.1.6 (at time of writing) instead of default 6.4.7.

Note: reverting to default version is possible by sudo apt-get install ppa-purge && sudo ppa-purge ppa:libreoffice/ppa .

24601 avatar
in flag
for some odd reason, when I first installed LO on 20.04 I added the repo `ppa:libreoffice/ppa libreoffice-7-0` and that's where it remains. Will your command `ppa-purge ppa:libreoffice-7-0/ppa` remove it to be followed by `sudo add-apt-repository ppa:libreoffice/ppa` followed by the other two lines restore good order or should I just uncheck the ppa in `Software & Updates` and then install the simpler `ppa:libreoffice/ppa` as outlined?
N0rbert avatar
zw flag
Running `sudo ppa-purge ppa:libreoffice/libreoffice-7-0` and then `sudo add-apt-repository ppa:libreoffice/ppa` looks good.
24601 avatar
in flag
Thanks - done although the old ppa was still listed in `Software & Updates - Other Software` so I just unchecked it.
Rogelio Prieto avatar
us flag
¡last step isn't necessary! update to new ubuntu version is NOT necessary: `sudo apt-get dist-upgrade # to get newest dependencies for sure`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.