LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2020, 03:34 PM   #1
LQParsons
Member
 
Registered: Feb 2010
Location: North of Boston, Mass (North Shore/Cape Ann)
Distribution: CentOS 7.0 (and kvm/qemu)
Posts: 91

Rep: Reputation: 22
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.)
 
Old 03-25-2020, 04:31 PM   #2
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
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.
 
Old 03-25-2020, 07:04 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by LQParsons View Post
(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.
 
1 members found this post helpful.
Old 03-29-2020, 06:57 AM   #4
LQParsons
Member
 
Registered: Feb 2010
Location: North of Boston, Mass (North Shore/Cape Ann)
Distribution: CentOS 7.0 (and kvm/qemu)
Posts: 91

Original Poster
Rep: Reputation: 22
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.
 
Old 03-29-2020, 07:57 AM   #5
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: New LibreOffice Extensions and Templates Site Coming Soon, LibreOffice 5.3 Hits Beta LXer Syndicated Linux News 0 11-30-2016 05:13 AM
How to install only Writer from Libreoffice package"libreoffice-4.0.3-i486-1alien.txz just.srad Slackware 10 05-30-2013 02:37 PM
LXer: Build Your Business Around LibreOffice, LibreOffice Certification Program Announced LXer Syndicated Linux News 0 05-07-2012 12:10 PM
LXer: LibreOffice Tips: Inserting QurĂ¢??an text in LibreOffice Writer LXer Syndicated Linux News 0 04-16-2012 02:50 PM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration