[Solved] Doesn't install on Linux

Issues with installing under all GNU/Linux Distributions
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

[Solved] Doesn't install on Linux

Post by iavswn »

Created an office program for linux that doesn't install on linux. :roll:
See, https://postimg.cc/McycVjwr
Screenshot-from-2023-11-09-02-30-39.png
Screenshot-from-2023-11-09-02-30-39.png (40.59 KiB) Viewed 3516 times
Last edited by Hagar Delest on Mon Jan 08, 2024 5:10 pm, edited 2 times in total.
Reason: tagged solved.
OpenOffice 4.1.7
FJCC
Moderator
Posts: 9284
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Doesn't install on Linux

Post by FJCC »

Here are the steps I use to install OpenOffice on Linux Mint
Download the installation file from www.openoffice.org
Remove the installed LibreOffice with

Code: Select all

sudo apt-get purge libreoffice*
Unpack the downloaded file with

Code: Select all

tar -vxzf <file-name>
where <file-name> is the name of the downloaded file.
Change directory into ./en-US/DEBS
Run

Code: Select all

sudo apt install ./*.deb ./desktop-integration/*.deb
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
RoryOF
Moderator
Posts: 34619
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Doesn't install on Linux

Post by RoryOF »

In such circumstance I use Synaptic. That will record a broken install, which I tell it to remove. In removal it will usually download the missing files. That done, a subsequent install will run correctly.

I run OpenOffice on several computers, all running Xubuntu 22.04.3. Installation takes place without any problems.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

sudo apt install ./*.deb ./desktop-integration/*.deb

Reading package lists... Done
E: Unsupported file ./*.deb given on commandline
E: Unsupported file ./desktop-integration/*.deb given on commandline
Last edited by iavswn on Thu Nov 09, 2023 8:53 pm, edited 2 times in total.
OpenOffice 4.1.7
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

RoryOF wrote: Thu Nov 09, 2023 5:12 pm In such circumstance I use Synaptic. That will record a broken install, which I tell it to remove. In removal it will usually download the missing files. That done, a subsequent install will run correctly.
Could Not mark all packages for installation or upgrade.
See, https://postimg.cc/cgZCHGsP
Screenshot-from-2023-11-09-10-51-20.png
Screenshot-from-2023-11-09-10-51-20.png (31.7 KiB) Viewed 3513 times
OpenOffice 4.1.7
Bill
Volunteer
Posts: 8934
Joined: Sat Nov 24, 2007 6:48 am

Re: Doesn't install on Linux

Post by Bill »

What is your Linux distribution? I can't reproduce the errors on Ubuntu Mate. AOO has never failed to install on Ubuntu Mate or several other Debian-based distributions.
AOO 4.1.14 on Ubuntu MATE 22.04
Bill
Volunteer
Posts: 8934
Joined: Sat Nov 24, 2007 6:48 am

Re: Doesn't install on Linux

Post by Bill »

iavswn wrote: Thu Nov 09, 2023 8:52 pm
RoryOF wrote: Thu Nov 09, 2023 5:12 pm In such circumstance I use Synaptic. That will record a broken install, which I tell it to remove. In removal it will usually download the missing files. That done, a subsequent install will run correctly.
Could Not mark all packages for installation or upgrade.
See, https://postimg.cc/cgZCHGsP
Did you remove the packages as suggested by RoryOF?
AOO 4.1.14 on Ubuntu MATE 22.04
FJCC
Moderator
Posts: 9284
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Doesn't install on Linux

Post by FJCC »

iavswn wrote: Thu Nov 09, 2023 8:34 pm Reading package lists... Done
E: Unsupported file ./*.deb given on commandline
E: Unsupported file ./desktop-integration/*.deb given on commandline
I get exactly that error if I run the command in a folder with no .deb files. For example, there are not .deb files in my Music folder and I get this:

Code: Select all

fjcc@HP-laptop ~/Music $ sudo apt install ./*.deb ./desktop-integration/*.deb
[sudo] password for fjcc:            
Reading package lists... Done
E: Unsupported file ./*.deb given on commandline
E: Unsupported file ./desktop-integration/*.deb given on commandline
After running the tar command did you change the directory to be in en-US/DEBS (or whatever is appropriate for your system. en-US is the locale of my OpenOffice)?
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
Hagar Delest
Moderator
Posts: 32670
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Doesn't install on Linux

Post by Hagar Delest »

I'm not sure that apt is the best command to install .debs.
See the dedicated tutorial, it is still applicable: [Tutorial] Installing Apache OpenOffice on GNU/Linux.
Gdebi is also a good bet when installing .deb instead of dpkg.

From what I see, I'm not sure you know exactly what you are doing.
Why not use LibreOffice that comes bundled with quite all the distros. What is yours BTW? You should update your forum signature.

Please add [Solved] at the beginning of the title in your first post (top of the topic) with the 🖉 button if your issue has been fixed.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

Did you remove the packages as suggested by RoryOF?
Which packages?
OpenOffice 4.1.7
User avatar
Hagar Delest
Moderator
Posts: 32670
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Doesn't install on Linux

Post by Hagar Delest »

Please follow the tutorial I have linked above and tell us how it goes.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

Hagar Delest wrote: Thu Nov 09, 2023 9:48 pm Please follow the tutorial I have linked above and tell us how it goes.
I did.
OpenOffice 4.1.7
User avatar
Hagar Delest
Moderator
Posts: 32670
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Doesn't install on Linux

Post by Hagar Delest »

Obviously not. I (and thousands of other users as well) did it dozens of times without any of the error messages you post.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
User avatar
Hagar Delest
Moderator
Posts: 32670
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Doesn't install on Linux

Post by Hagar Delest »

iavswn wrote: Thu Nov 09, 2023 1:54 pm Created an office program for linux that doesn't install on linux. :roll:
See, https://postimg.cc/McycVjwr
Screenshot-from-2023-11-09-02-30-39.png
It just shows that you are trying to install one of the packages, from a GUI, without knowing how such application has to be installed.
Give us the output of the various commands of the tutorial.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

without knowing how such application has to be installed.
How to install it then?
OpenOffice 4.1.7
User avatar
Hagar Delest
Moderator
Posts: 32670
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Doesn't install on Linux

Post by Hagar Delest »

Follow the tutorial.
:roll:

And if there is a problem, give what the terminal says.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

Hagar Delest wrote: Thu Nov 09, 2023 10:03 pm Follow the tutorial.
I did.
OpenOffice 4.1.7
Bill
Volunteer
Posts: 8934
Joined: Sat Nov 24, 2007 6:48 am

Re: Doesn't install on Linux

Post by Bill »

Hagar Delest wrote: Thu Nov 09, 2023 9:57 pm
iavswn wrote: Thu Nov 09, 2023 1:54 pm Created an office program for linux that doesn't install on linux. :roll:
See, https://postimg.cc/McycVjwr
Screenshot-from-2023-11-09-02-30-39.png
It just shows that you are trying to install one of the packages, from a GUI, without knowing how such application has to be installed.
Give us the output of the various commands of the tutorial.
That's what it looks like to me also. The first screen shot looks like it came from a GUI program, but no information has been provided about what produced that screen shot. I suspect that the GUI program either doesn't automatically download dependencies or tries to download them from the distribution's repository instead of the other .deb files.
AOO 4.1.14 on Ubuntu MATE 22.04
User avatar
Hagar Delest
Moderator
Posts: 32670
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Doesn't install on Linux

Post by Hagar Delest »

iavswn wrote: Thu Nov 09, 2023 10:04 pm
Hagar Delest wrote: Thu Nov 09, 2023 10:03 pm Follow the tutorial.
I did.
Then run the commands again and post the content of the terminal here.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

Reading package lists... Done
E: Unsupported file ./*.deb given on commandline
E: Unsupported file ./desktop-integration/*.deb given on commandline
OpenOffice 4.1.7
User avatar
Hagar Delest
Moderator
Posts: 32670
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Doesn't install on Linux

Post by Hagar Delest »

WHAT COMMAND HAVE YOU USED???
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

Hagar Delest wrote: Thu Nov 09, 2023 10:09 pm WHAT COMMAND HAVE YOU USED???
The one I was given.
OpenOffice 4.1.7
User avatar
Hagar Delest
Moderator
Posts: 32670
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Doesn't install on Linux

Post by Hagar Delest »

Then it means you have not read the tutorial because the command "sudo apt install ./*.deb ./desktop-integration/*.deb" does not appear in it.
As I said, apt is not the best one for installing the bunch of deb packages that you should have downloaded.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

Hagar Delest wrote: Thu Nov 09, 2023 10:18 pm Then it means you have not read the tutorial because the command "sudo apt install ./*.deb ./desktop-integration/*.deb" does not appear in it.
As I said, apt is not the best one for installing the bunch of deb packages that you should have downloaded.

Exactly as it appeared in terminal:
Reading package lists... Done
E: Unsupported file ./*.deb given on commandline
E: Unsupported file ./desktop-integration/*.deb given on commandline
OpenOffice 4.1.7
User avatar
Hagar Delest
Moderator
Posts: 32670
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Doesn't install on Linux

Post by Hagar Delest »

sudo dpkg -i *.deb desktop-integration/*.deb
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

@Hagar Delest See, https://postimg.cc/yDRV2mtL
Screenshot-from-2023-11-09-12-21-01.png
Screenshot-from-2023-11-09-12-21-01.png (28.04 KiB) Viewed 3228 times
OpenOffice 4.1.7
User avatar
Hagar Delest
Moderator
Posts: 32670
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Doesn't install on Linux

Post by Hagar Delest »

What don't you get in "don't use apt'?
Try the dpkg command I have given above.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

sudo dpkg -i *.deb desktop-integration/*.deb
dpkg: error: cannot access archive '*.deb': No such file or directory
OpenOffice 4.1.7
User avatar
Hagar Delest
Moderator
Posts: 32670
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Doesn't install on Linux

Post by Hagar Delest »

You have to run it in the folder where the tarball has been unzipped. The folder in which you should have a bunch of .deb files (plus the /desktop-integration directory).
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
iavswn
Posts: 21
Joined: Thu Nov 09, 2023 1:45 pm

Re: Doesn't install on Linux

Post by iavswn »

@Hagar Delest See, https://postimg.cc/v1NwBDJ4
Screenshot-from-2023-11-09-12-28-20.png
Screenshot-from-2023-11-09-12-28-20.png (38.53 KiB) Viewed 3192 times
OpenOffice 4.1.7
Locked