How LibreOffice could be directly and autometically upgraded?

Asked by Navin Talati

In my OS - Ubuntu 20.04 LTS, the LibreOffice Version 6.4.6.2 exists as default. Now the latest LibreOffice Version 7.1 is made available.

How can I get my existing version directly upgraded to 7.1?

If I download its new .deb package and install, to the best of my knowledge, both the versions will exist simultaneously which I do not want. I want only the latest one in my system. What to do for this?

Please guide.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Navin Talati
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
Manfred Hampl (m-hampl) said :
#2

you should be aware that Ubuntu is no rolling release.
Ubuntu 20.04 has got libreoffice 6.4.6-* and that will most probably stay that way.

If you want/need a higher version, then you have to upgrade to a newer Ubuntu release (caution, not LTS!) or use a PPA.

My suggestion is https://launchpad.net/~libreoffice/+archive/ubuntu/ppa for the latest published version.

And for your "knowledge" that this might lead to two versions installed in parallel: No, this is not the case. If you install a deb file with the same package name, then it will replace the one that you have already installed.
You may have two different versions if one is installed with *.deb files and another one from the snap store or as flatpack.

Revision history for this message
Navin Talati (n-m-talati) said :
#3

Thanks.
Reply #1 and #2 both helped to resolve my doubts.