Note: Just did  test of adding the 7.5x release of LibreOffice.
I downloaded both the Help and Program Files from site (no a repo)
     2311462 Feb  3 22:29  
LibreOffice_7.5.0_Linux_x86-64_rpm_helppack_en-US.tar.gz
 228973591 Feb  3 22:52  LibreOffice_7.5.0_Linux_x86-64_rpm.tar.gz

Then used my script passing the new release part 
(Note if newer version of same base it does an upgrade of the previous one)
Say going from 7.4.2 to 7.4.3, but since this is a new base it created a 7.5 
version.
which libreoffice libreoffice7.4 libreoffice7.5
/usr/bin/libreoffice
/usr/bin/libreoffice7.4
/usr/bin/libreoffice7.5

So my menu currently has 3 versions of Libreoffice (Fedora 36)
libreoffice writer 7.3.7.2
libreoffice 7.4 writer 7.4.4.2
libreoffice 7.5 writer 7.5.0.3

To remove a version installed from libreoffice site run the rpm command.
Since each base version is separate with Fedora the can be exist. Don't know if 
true on other 
versions. So, currently have 3 versions installed.

Long output of the script process.

# ./newlibre 7.5.0
LibreOffice_7.5.0.3_Linux_x86-64_rpm_helppack_en-US/
LibreOffice_7.5.0.3_Linux_x86-64_rpm_helppack_en-US/RPMS/
LibreOffice_7.5.0.3_Linux_x86-64_rpm_helppack_en-US/RPMS/libobasis7.5-en-US-help-7.5.0.3-3.x86_
64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/
LibreOffice_7.5.0.3_Linux_x86-64_rpm/install
LibreOffice_7.5.0.3_Linux_x86-64_rpm/readmes/
LibreOffice_7.5.0.3_Linux_x86-64_rpm/readmes/README_en-US
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-extension-mediawiki-publisher-7.5.0.3-3.x8
6_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-base-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-base-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-writer-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-graphicfilter-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-en-US-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-kde-integration-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-ogltrans-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-extension-javascript-script-provider-7.5.0.3
-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-pyuno-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-calc-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-impress-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-postgresql-sdbc-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-onlineupdate-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-python-script-provider-7.5.0.3-3.x86_64.rp
m
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-extension-beanshell-script-provider-7.5.0.3-
3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-dict-en-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-ure-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-librelogo-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-core-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-xsltfilter-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-draw-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-writer-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-images-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-dict-es-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-gnome-integration-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-extension-pdf-import-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-math-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-extension-report-builder-7.5.0.3-3.x86_64.r
pm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-dict-fr-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-freedesktop-menus-7.5.0-3.noarch.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-extension-nlpsolver-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-math-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-ooolinguistic-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-firebird-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-impress-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libreoffice7.5-draw-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-ooofonts-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-calc-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-libreofficekit-data-7.5.0.3-3.x86_64.rpm
LibreOffice_7.5.0.3_Linux_x86-64_rpm/RPMS/libobasis7.5-en-US-7.5.0.3-3.x86_64.rpm
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:libreoffice7.5-ure-7.5.0.3-3     ################################# [  2%]
   2:libobasis7.5-ooofonts-7.5.0.3-3  ################################# [  5%]
   3:libobasis7.5-core-7.5.0.3-3      ################################# [  7%]
   4:libobasis7.5-base-7.5.0.3-3      ################################# [  9%]
   5:libobasis7.5-en-US-7.5.0.3-3     ################################# [ 12%]
   6:libobasis7.5-impress-7.5.0.3-3   ################################# [ 14%]
   7:libobasis7.5-writer-7.5.0.3-3    ################################# [ 16%]
   8:libobasis7.5-calc-7.5.0.3-3      ################################# [ 19%]
   9:libobasis7.5-draw-7.5.0.3-3      ################################# [ 21%]
  10:libobasis7.5-images-7.5.0.3-3    ################################# [ 23%]
  11:libreoffice7.5-7.5.0.3-3         ################################# [ 26%]
  12:libobasis7.5-math-7.5.0.3-3      ################################# [ 28%]
  13:libobasis7.5-pyuno-7.5.0.3-3     ################################# [ 30%]
  14:libobasis7.5-librelogo-7.5.0.3-3 ################################# [ 33%]
  15:libreoffice7.5-math-7.5.0.3-3    ################################# [ 35%]
  16:libreoffice7.5-base-7.5.0.3-3    ################################# [ 37%]
  17:libreoffice7.5-calc-7.5.0.3-3    ################################# [ 40%]
  18:libreoffice7.5-dict-en-7.5.0.3-3 ################################# [ 42%]
  19:libreoffice7.5-dict-es-7.5.0.3-3 ################################# [ 44%]
  20:libreoffice7.5-dict-fr-7.5.0.3-3 ################################# [ 47%]
  21:libreoffice7.5-draw-7.5.0.3-3    ################################# [ 49%]
  22:libreoffice7.5-en-US-7.5.0.3-3   ################################# [ 51%]
  23:libreoffice7.5-impress-7.5.0.3-3 ################################# [ 53%]
  24:libreoffice7.5-writer-7.5.0.3-3  ################################# [ 56%]
  25:libobasis7.5-ogltrans-7.5.0.3-3  ################################# [ 58%]
  26:libobasis7.5-en-US-help-7.5.0.3-3################################# [ 60%]
  27:libobasis7.5-postgresql-sdbc-7.5.################################# [ 63%]
  28:libobasis7.5-extension-beanshell-################################# [ 65%]
  29:libobasis7.5-extension-javascript################################# [ 67%]
  30:libobasis7.5-extension-mediawiki-################################# [ 70%]
  31:libobasis7.5-extension-nlpsolver-################################# [ 72%]
  32:libobasis7.5-extension-pdf-import################################# [ 74%]
  33:libobasis7.5-extension-report-bui################################# [ 77%]
  34:libobasis7.5-firebird-7.5.0.3-3  ################################# [ 79%]
  35:libobasis7.5-gnome-integration-7.################################# [ 81%]
  36:libobasis7.5-graphicfilter-7.5.0.################################# [ 84%]
  37:libobasis7.5-kde-integration-7.5.################################# [ 86%]
  38:libobasis7.5-libreofficekit-data-################################# [ 88%]
  39:libobasis7.5-onlineupdate-7.5.0.3################################# [ 91%]
  40:libobasis7.5-ooolinguistic-7.5.0.################################# [ 93%]
  41:libobasis7.5-python-script-provid################################# [ 95%]
  42:libobasis7.5-xsltfilter-7.5.0.3-3################################# [ 98%]
  43:libreoffice7.5-freedesktop-menus-################################# [100%]
/bin/update-desktop-database
/bin/update-mime-database
/bin/gtk-update-icon-cache
/bin/update-desktop-database
/bin/update-desktop-database
libobasis7.5-base-7.5.0.3-3.x86_64.rpm
libobasis7.5-calc-7.5.0.3-3.x86_64.rpm
libobasis7.5-core-7.5.0.3-3.x86_64.rpm
libobasis7.5-draw-7.5.0.3-3.x86_64.rpm
libobasis7.5-en-US-7.5.0.3-3.x86_64.rpm
libobasis7.5-en-US-help-7.5.0.3-3.x86_64.rpm
libobasis7.5-extension-beanshell-script-provider-7.5.0.3-3.x86_64.rpm
libobasis7.5-extension-javascript-script-provider-7.5.0.3-3.x86_64.rpm
libobasis7.5-extension-mediawiki-publisher-7.5.0.3-3.x86_64.rpm
libobasis7.5-extension-nlpsolver-7.5.0.3-3.x86_64.rpm
libobasis7.5-extension-pdf-import-7.5.0.3-3.x86_64.rpm
libobasis7.5-extension-report-builder-7.5.0.3-3.x86_64.rpm
libobasis7.5-firebird-7.5.0.3-3.x86_64.rpm
libobasis7.5-gnome-integration-7.5.0.3-3.x86_64.rpm
libobasis7.5-graphicfilter-7.5.0.3-3.x86_64.rpm
libobasis7.5-images-7.5.0.3-3.x86_64.rpm
libobasis7.5-impress-7.5.0.3-3.x86_64.rpm
libobasis7.5-kde-integration-7.5.0.3-3.x86_64.rpm
libobasis7.5-librelogo-7.5.0.3-3.x86_64.rpm
libobasis7.5-libreofficekit-data-7.5.0.3-3.x86_64.rpm
libobasis7.5-math-7.5.0.3-3.x86_64.rpm
libobasis7.5-ogltrans-7.5.0.3-3.x86_64.rpm
libobasis7.5-onlineupdate-7.5.0.3-3.x86_64.rpm
libobasis7.5-ooofonts-7.5.0.3-3.x86_64.rpm
libobasis7.5-ooolinguistic-7.5.0.3-3.x86_64.rpm
libobasis7.5-postgresql-sdbc-7.5.0.3-3.x86_64.rpm
libobasis7.5-python-script-provider-7.5.0.3-3.x86_64.rpm
libobasis7.5-pyuno-7.5.0.3-3.x86_64.rpm
libobasis7.5-writer-7.5.0.3-3.x86_64.rpm
libobasis7.5-xsltfilter-7.5.0.3-3.x86_64.rpm
libreoffice7.5-7.5.0.3-3.x86_64.rpm
libreoffice7.5-base-7.5.0.3-3.x86_64.rpm
libreoffice7.5-calc-7.5.0.3-3.x86_64.rpm
libreoffice7.5-dict-en-7.5.0.3-3.x86_64.rpm
libreoffice7.5-dict-es-7.5.0.3-3.x86_64.rpm
libreoffice7.5-dict-fr-7.5.0.3-3.x86_64.rpm
libreoffice7.5-draw-7.5.0.3-3.x86_64.rpm
libreoffice7.5-en-US-7.5.0.3-3.x86_64.rpm
libreoffice7.5-freedesktop-menus-7.5.0-3.noarch.rpm
libreoffice7.5-impress-7.5.0.3-3.x86_64.rpm
libreoffice7.5-math-7.5.0.3-3.x86_64.rpm
libreoffice7.5-ure-7.5.0.3-3.x86_64.rpm
libreoffice7.5-writer-7.5.0.3-3.x86_64.rpm


Again, if libreoffice come out with update like 7.5.04 the 
process would update the 7.5 version rather than install 
another version.

My newlibre script, but may not work for others, so 
please check 

newlib=$(ls -1 LibreOffice_$1*.gz |tail -n 1 | cut -f1,2 -d_)
mkdir $newlib
cd $newlib/
for a in ../$newlib*.gz ; do tar xvf $a ; done 
for a in $(find . | grep "\.rpm") ; do mv $a .; done
rpm -Uvh *.rpm
tar -Jcvf ../$newlib.xz *.rpm
rm l*.rpm -f
rm LibreOffice_$1* -R -f
cd ..
rmdir $newlib



On 4 Feb 2023 at 8:51, Steve Edmonds wrote:

Date sent:              Sat, 4 Feb 2023 08:51:04 +1300
Subject:                Re: [libreoffice-users] RPM upgrade 7.4 to 
7.5
To:                     [email protected]
From:                   Steve Edmonds 
<[email protected]>

> I am not sure if this will be of any help as I use SUSE with YAST and 
> zypper, but it looks like dnf/yum may have similar functionality.
> Using downloaded (not from a repository) RPMs that will undergo regular 
> updates I create a local repository from a directory containing the RPMs.
> My system treats 7.3 and 7.4 as 2 different packages, I would have 2 
> different local repositories.
> To go from 7.3 to 7.4 I would mark 7.3 to uninstall and 7.4 to install 
> and mostly the dependency checking allows resolution of any issues.
> To go from 7.3.1 to 7.3.2 say would be seen as an upgrade.
> 
> This means it is easy to swap back from say 7.4 to 7.3 if you strike a 
> bug that is a show stopper for you while you wait for the bug 
> resolution, as I have had on a few occasions.
> Steve
> 
> On 04/02/2023 01:28, Michael D. Setzer II wrote:
> > On 3 Feb 2023 at 17:20, Lee Thomas Stephen wrote:
> >
> > From:               Lee Thomas Stephen
> > <[email protected]>
> > Date sent:          Fri, 3 Feb 2023 17:20:15 +0530
> > Subject:            Re: [libreoffice-users] RPM upgrade 7.4 to
> > 7.5
> > To:                 [email protected]
> > Copies to:          LibreOffice Users
> > <[email protected]>
> >
> >> I did
> >>
> >> rpm -Uvh *.rpm
> >>
> >> Now I have both 7.4 and 7.5.
> >> The command installed a separate 7.5 instead of upgrading from 7.4.
> >> Any solution for an upgrade?
> >> As I face this issue on every major release.
> > dnf update will eventually update the libreoffice that is
> > in the Fedora/Redhat repos when they are updated.
> >
> > As I understand it, you would need to download and
> > repeat process to update libreoffice versions.
> >
> > I use a little script after downloading the lastest update
> > and help gz files.
> >
> > newlib=$(ls -1 LibreOffice_$1*.gz |tail -n 1 | cut -f1,2 -d_)
> > mkdir $newlib
> > cd $newlib/
> > for a in ../$newlib*.gz ; do tar xvf $a ; done
> > for a in $(find . | grep "\.rpm") ; do mv $a .; done
> > rpm -Uvh *.rpm
> > tar -Jcvf ../$newlib.xz *.rpm
> > rm l*.rpm -f
> > rm LibreOffice_$1* -R -f
> > cd ..
> > rmdir $newlib
> >
> > If you have installed the help, the upgrade gives an error
> > if the new help files are not installed at same time. If you
> > just install without help, you can just do the rpm update.
> > I like to create an archive of rpms to then copy to other
> > machines..
> >
> > So make example is what I use, but you may want to do
> > something different.
> >
> >
> >
> >> Thanks
> >>
> >> ---
> >> Lee
> >>
> >> On Fri, Feb 3, 2023 at 3:53 PM Michael D. Setzer II <[email protected]>
> >> wrote:
> >>
> >>> On 3 Feb 2023 at 12:20, Lee Thomas Stephen wrote:
> >>>
> >>> From:                   Lee Thomas Stephen
> >>> <[email protected]>
> >>> Date sent:              Fri, 3 Feb 2023 12:20:02 +0530
> >>> Subject:                [libreoffice-users] RPM upgrade 7.4 to 7.5
> >>> To:                     LibreOffice Users
> >>> <[email protected]>
> >>>
> >>>> Hi,
> >>>>
> >>>> I have LibreOffice 7.4.5 installed via RPM installation on RHEL 8.7
> >>>> I downloaded the RPM installation of LibreOffice 7.5.0.
> >>>> but I am unable to do
> >>>> dnf upgrade *.rpm
> >>> Think rpm -Uvh *.rpm
> >>> Is what you want to use.
> >>> The Libreoffice from the site installs differently than the
> >>> one from the Fedora repos for me.
> >>>
> >>> which libreoffice libreoffice7.4
> >>> /usr/bin/libreoffice
> >>> /usr/bin/libreoffice7.4
> >>>
> >>> The office submenu then list both the repo version and
> >>> the libreoffice versions of programs.
> >>>
> >>> Haven't tried the 7.5 yet.
> >>>
> >>>> The error is
> >>>> -----------------%<-----------------
> >>>> Package libobasis7.5-base not installed, cannot update it.
> >>>> No match for argument: libobasis7.5-base-7.5.0.3-3.x86_64.rpm
> >>>> Package libobasis7.5-calc not installed, cannot update it.
> >>>> No match for argument: libobasis7.5-calc-7.5.0.3-3.x86_64.rpm
> >>>> Package libobasis7.5-core not installed, cannot update it.
> >>>> No match for argument: libobasis7.5-core-7.5.0.3-3.x86_64.rpm
> >>>> Package libobasis7.5-draw not installed, cannot update it.
> >>>> ......
> >>>> etc.
> >>>> -----------------%<-----------------
> >>>>
> >>>> So what is the correct path to upgrade from 7.4 to 7.5?
> >>>>
> >>>> Thanks
> >>>>
> >>>> ---
> >>>> Lee
> >>>>
> >>>> --
> >>>> To unsubscribe e-mail to: [email protected]
> >>>> Problems?
> >>> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> >>>> Posting guidelines + more:
> >>> https://wiki.documentfoundation.org/Netiquette
> >>>> List archive: https://listarchives.libreoffice.org/global/users/
> >>>> Privacy Policy: https://www.documentfoundation.org/privacy
> >>>
> >>> +------------------------------------------------------------+
> >>>   Michael D. Setzer II - Computer Science Instructor
> >>> (Retired)
> >>>   mailto:[email protected]
> >>>   mailto:[email protected]
> >>>   Guam - Where America's Day Begins
> >>>   G4L Disk Imaging Project maintainer
> >>>   http://sourceforge.net/projects/g4l/
> >>> +------------------------------------------------------------+
> >>>
> >>>
> >>>
> >>>
> >> -- 
> >> To unsubscribe e-mail to: [email protected]
> >> Problems? 
> >> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> >> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> >> List archive: https://listarchives.libreoffice.org/global/users/
> >> Privacy Policy: https://www.documentfoundation.org/privacy
> >
> > +------------------------------------------------------------+
> >   Michael D. Setzer II - Computer Science Instructor
> > (Retired)
> >   mailto:[email protected]
> >   mailto:[email protected]
> >   Guam - Where America's Day Begins
> >   G4L Disk Imaging Project maintainer
> >   http://sourceforge.net/projects/g4l/
> > +------------------------------------------------------------+
> >
> >
> >
> >
> 
> 
> -- 
> To unsubscribe e-mail to: [email protected]
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor 
(Retired)     
 mailto:[email protected]                            
 mailto:[email protected]
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+




-- 
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to