6

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.

1
7

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 .

3
  • 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?
    – 24601
    Sep 9 at 7:15
  • 1
    Running sudo ppa-purge ppa:libreoffice/libreoffice-7-0 and then sudo add-apt-repository ppa:libreoffice/ppa looks good.
    – N0rbert
    Sep 9 at 7:33
  • Thanks - done although the old ppa was still listed in Software & Updates - Other Software so I just unchecked it.
    – 24601
    Sep 9 at 8:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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