LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   YUM and LibreOffice (https://www.linuxquestions.org/questions/linux-software-2/yum-and-libreoffice-4175671962/)

LQParsons 03-25-2020 03:34 PM

YUM and LibreOffice
 
YUM UPDATE, which I run weekly, has been having some trouble with missing dependencies etc. and won't update LibreOffice.

I'm CentOS/7 64-bit; when I load via Application | Office, my version is 6.0.something. However
Code:

$ soffice
gives me 5.
It seems I've done a local install for updates over the past.
I decided to start clean, so I did a
Code:

# yum remove libreoffice*
# yum install libreoffice

And it's version 5.

So, before I do a download from libreoffice.org, then
Code:

# yum localinstall (mumble).rpm
(1) why is yum installing Version 5.

(2) if I do the localinstall, can I have yum take care of the updates after that, or must I do a localinstall whenever I get update notices?
(I tend to want to do this when my windows machines tells me the updates available, so I update there from within libreoffice.)

sevendogsbsd 03-25-2020 04:31 PM

Yum is trying to install Libreoffice 5 because that is the version in CentOS's repos for CentOS 7: http://mirror.centos.org/centos/7/os/x86_64/Packages/

Not being a CentOS user, I can't answer #2.

berndbausch 03-25-2020 07:04 PM

Quote:

Originally Posted by LQParsons (Post 6104335)
(2) if I do the localinstall, can I have yum take care of the updates after that, or must I do a localinstall whenever I get update notices?

yum update looks at your currently installed software versions, compares them to software versions available in the Centos repositories, and updates those that are old.

If the Centos repo contains LibreOffice 5, then updates it to (for sake of argument) LibreOffice 5.5, and you have LibreOffice 6 installed already, yum update will conclude that nothing needs to be done.

In order to automatically update your LibreOffice 6, you have to configure a repository that contains versions that are later than 6.

Use yum list upgrades to list the packages for which updates are available in the configured repos. Use yum info LibreOffice to see which versions of LibreOffice are available in the repositories.

LQParsons 03-29-2020 06:57 AM

berndbausch, thanks.
My poking around found similar, thanks for the correct commands.

OpenOffice, then LibreOffice, has been OpenSource since Sun created StarOffice to poke a finger in the eye of Microsoft by creating a free office package equivilant to their cash cow.

That is why it's so strange to me that LibreOffice is now up to version 7+ and the YUM repository is abandoned at 5.5.

No matter-mind; I'll just figured I was missing something, but evidently not -- it's repository-abandoned (to coin a phrase) and I'll just keep doing the
Code:

yum localinstall
whenever I want to catch-up to the most current LibreOffice.

It was just a question of curiosity, I'll make this closed.
Thanks all.

sevendogsbsd 03-29-2020 07:57 AM

Keep in mind that RHEL, on which CentOS is based, is very conservative about software updates. You will always find older version of software in CentOS and RHEL because they are enterprise platforms and in the enterprise, stability is key. Security flaws are patched but you will never find the latest and greatest version in either platform.


All times are GMT -5. The time now is 09:39 PM.