How Do I Install Apache Open Office?

I am using Tumbleweed and trying to install Apache Open Office.
I found rpm files and put them in a temporary folder:

rhyader@Megrez:~/Temp> ls
desktop-integration openoffice-en-US-calc-4.1.15-9813.x86_64.rpm
openoffice-4.1.15-9813.x86_64.rpm openoffice-en-US-draw-4.1.15-9813.x86_64.rpm
openoffice-base-4.1.15-9813.x86_64.rpm openoffice-en-US-help-4.1.15-9813.x86_64.rpm
openoffice-brand-base-4.1.15-9813.x86_64.rpm openoffice-en-US-impress-4.1.15-9813.x86_64.rpm
openoffice-brand-calc-4.1.15-9813.x86_64.rpm openoffice-en-US-math-4.1.15-9813.x86_64.rpm
openoffice-brand-draw-4.1.15-9813.x86_64.rpm openoffice-en-US-res-4.1.15-9813.x86_64.rpm
openoffice-brand-en-US-4.1.15-9813.x86_64.rpm openoffice-en-US-writer-4.1.15-9813.x86_64.rpm
openoffice-brand-impress-4.1.15-9813.x86_64.rpm openoffice-gnome-integration-4.1.15-9813.x86_64.rpm
openoffice-brand-math-4.1.15-9813.x86_64.rpm openoffice-graphicfilter-4.1.15-9813.x86_64.rpm
openoffice-brand-writer-4.1.15-9813.x86_64.rpm openoffice-images-4.1.15-9813.x86_64.rpm
openoffice-calc-4.1.15-9813.x86_64.rpm openoffice-impress-4.1.15-9813.x86_64.rpm
openoffice-core01-4.1.15-9813.x86_64.rpm openoffice-javafilter-4.1.15-9813.x86_64.rpm
openoffice-core02-4.1.15-9813.x86_64.rpm openoffice-math-4.1.15-9813.x86_64.rpm
openoffice-core03-4.1.15-9813.x86_64.rpm openoffice-ogltrans-4.1.15-9813.x86_64.rpm
openoffice-core04-4.1.15-9813.x86_64.rpm openoffice-onlineupdate-4.1.15-9813.x86_64.rpm
openoffice-core05-4.1.15-9813.x86_64.rpm openoffice-ooofonts-4.1.15-9813.x86_64.rpm
openoffice-core06-4.1.15-9813.x86_64.rpm openoffice-ooolinguistic-4.1.15-9813.x86_64.rpm
openoffice-core07-4.1.15-9813.x86_64.rpm openoffice-pyuno-4.1.15-9813.x86_64.rpm
openoffice-draw-4.1.15-9813.x86_64.rpm openoffice-ure-4.1.15-9813.x86_64.rpm
openoffice-en-US-4.1.15-9813.x86_64.rpm openoffice-writer-4.1.15-9813.x86_64.rpm
openoffice-en-US-base-4.1.15-9813.x86_64.rpm openoffice-xsltfilter-4.1.15-9813.x86_64.rpm

then I used a command that I saw on the web:

rpm -Uvh *.rpm

This seemed to so something, printing out hashtags as it installed files (supposedly)
and I did not see any conflicts. Then I tried the desktop-integration folder:


rhyader@Megrez:~/Temp/desktop-integration> ls -alF --color=none
total 3300
drwxr-xr-x 2 rhyader rhyader 4096 Dec 29 18:20 ./
drwxr-xā€” 3 rhyader rhyader 4096 Dec 29 18:33 ā€¦/
-rw-rā€“r-- 1 rhyader rhyader 1093120 Nov 29 2023 openoffice4.1.15-freedesktop-menus-4.1.15-9813.noarch.rpm
-rw-rā€“r-- 1 rhyader rhyader 1109272 Nov 29 2023 openoffice4.1.15-mandriva-menus-4.1.15-9813.noarch.rpm
-rw-rā€“r-- 1 rhyader rhyader 1164751 Nov 29 2023 openoffice4.1.15-redhat-menus-4.1.15-9813.noarch.rpm

and the command:


rhyader@Megrez:~/Temp/desktop-integration> sudo rpm -Uvh openoffice4.1.15-freedesktop-menus-4.1.15-9813.noarch.rpm
[sudo] password for root:
Verifyingā€¦ ################################# [100%]
Preparingā€¦ ################################# [100%]
file /usr/bin/soffice from install of openoffice4.1.15-freedesktop-menus-4.1.15-9813.noarch conflicts with file from package libreoffice-24.8.3.2-2.1.x86_64

So aparently something from Apache Open Office conflicts with Libre Office.
How could I fix this and install apache open office?

You could uninstall libreoffice. Both use the ā€˜sofficeā€™ executable, and you can only have one package that owns it at that location.

Simply change(rename) /remove the symlink. It will not remove LibreOffice. Then execute the ā€œintegrationā€ command again.

Itā€™s explained in Step 1 here:

https://www.openoffice.org/download/common/instructions.html#linux

Except, of course, if you rename/remove the symlink, when LibreOffice is updated, it will again show a conflict and have to be dealt with.

LibreOffice is, IIRC, a fork of OpenOffice, so having both installed seems excessive IMO. Thatā€™s why Iā€™d suggest choosing one or the other. :slight_smile:

(But at least they did cover this in the docs. :slight_smile: )

Yes, you are correct if LibreOffice is updated. One more hassle.

And I agree, not sure why someone wants both on their system. LibreOffice has always worked fine for us.

There is one option if a person wants both on openSUSEā€¦ remove the native version of LibreOffice ā€¦ then run Discover and install the Flatpak version of LibreOffice. Next, install OpenOffice. Then both should not interfere with the other.

Or use Distrobox, or Virtualization. :slight_smile:

1 Like

Well, I have never used Libre Office, I use Apache. But I donā€™t want to delete Libre Office
because heck, I might actually try it someday and like it; and it seems to have a drawing program,
so Iā€™ll keep it. And I am not enough of a linux geek to understand the solutions or want to spend
a day studying them just to make it workā€¦ SO Iā€™ll just make yā€™all cringe and tell you that I did
the easy, quick solution and installed the Windows version of Apache under WINE. (you may cringe now)

Yes, we have choice, nice.