I manually downloaded the latest deb files for LibreOffice 5.4.2 from LibreOffice's official website and installed LibreOffice 5.4.2 from the deb files.

But I realized I won't get automatic updates for LibreOffice, so I would like to add this PPA to my repositories:

sudo add-apt-repository ppa:libreoffice/ppa

I haven't run the above command, and have a question. Will adding a new PPA for LibreOffice update the LibreOffice that I just installed from the LibreOffice official website? Or shall I uninstall the LibreOffice that I just installed and install from the PPA, in order to get auto update from the PPA?

  • 1
    It is better to remove and install from a PPA. It may be updated from the PPA, but it is not guaranteed. – Pilot6 Oct 8 '17 at 16:57
  • Consider accepting the answer as the correct one. It may help others. – user68186 Oct 13 '17 at 16:47
  • Currently Official is overriding LibreOffice's PPA on 14.04, see, askubuntu.com/questions/966179/… . And, yes, remove all the manually installed, then add the PPA like user68186 says. – Michael Oct 19 '17 at 1:24

It is best to remove the LibreOffice from original website

I don't know if the remnants of the other version will create any problems. Removing it is safer. The wiki linked below seems to say the same thing.

You can do it using Ubuntu Software Center or from the terminal. Open a terminal by pressing Ctrl+Alt+T and enter:

sudo apt remove libreoffice

This will uninstall the LibreOffice but keep your settings.

Add the PPA


sudo add-apt-repository ppa:libreoffice/ppa

Update the lists


sudo apt update

This will make sure the updated version from the PPA will be installed.

Finally install LibreOffice again


sudo apt install libreoffice

Source: https://wiki.ubuntu.com/LibreOffice

  • Why do you recommend to remove the LibreOffice from the website? – dessert Oct 8 '17 at 21:21
  • 1
    I don't know if the remnants of the other version will create any problems. Removing it is safer. The wiki linked above seems to say the same thing. – user68186 Oct 8 '17 at 22:26
  • @dessert: user68186's advice is a reasonable precaution, as trying to install the same program from different packages may cause issues if they both try to provide and use some of the same files. However, LibreOffice packages their debs and associated files with specific version numbers precisely so they don't conflict. For example, the downloaded executable is libreoffice5.4 and the Ubuntu package is just libreoffice; they work fine side by side so you don't need to uninstall first. – sondra.kinsey Oct 9 '17 at 1:53
  • Packaging between the two repositories may differ. You should remove old one because new packages may have different names and prerequisites. Installing new one might leave copies of some old files floating about. I'd suggest you are careful to remove not only the original packages, but also purge the configuration files. – pauljohn32 Oct 9 '17 at 4:03

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.