[Solved] New install won't open on Xubuntu 22

Issues with installing under all GNU/Linux Distributions
Post Reply
StrobeWylan
Posts: 3
Joined: Wed Sep 06, 2023 6:16 pm

[Solved] New install won't open on Xubuntu 22

Post by StrobeWylan »

I finished installing OpenOffice 4.1.14 on Xubuntu 22.04.3 LTS. When I enter " in terminal openoffice4"
it says "/usr/bin/openoffice4: 22: exec: /opt/openoffice4/program/soffice: not found"
I removed Libre before I started. OpenOffice is not listed in the application opener.

This is the last part of the install in terminal:

Purging configuration files for libreoffice-gnome (1:7.3.7-0ubuntu0.22.04.3) ...
Purging configuration files for libreoffice-impress (1:7.3.7-0ubuntu0.22.04.3) ...
Purging configuration files for libreoffice-base-core (1:7.3.7-0ubuntu0.22.04.3) ...
Purging configuration files for libreoffice-help-en-us (1:7.3.7-0ubuntu0.22.04.3) ...
Purging configuration files for python3-uno (1:7.3.7-0ubuntu0.22.04.3) ...
Purging configuration files for libreoffice-core (1:7.3.7-0ubuntu0.22.04.3) ...
Purging configuration files for libreoffice-calc (1:7.3.7-0ubuntu0.22.04.3) ...
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ cd desktop-integration/ && sudo dpkg -i *.deb
bash: cd: desktop-integration/: No such file or directory
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ cd desktop-integration/
bash: cd: desktop-integration/: No such file or directory
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ sudo dpkg -i *.deb
(Reading database ... 237338 files and directories currently installed.)
Preparing to unpack openoffice4.1-debian-menus_4.1.14-9811_all.deb ...
Unpacking openoffice-debian-menus (4.1.14-9811) ...
Setting up openoffice-debian-menus (4.1.14-9811) ...
/usr/bin/gtk-update-icon-cache
gtk-update-icon-cache: Cache file created successfully.
Processing triggers for shared-mime-info (2.1-2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ openoffice4
/usr/bin/openoffice4: 22: exec: /opt/openoffice4/program/soffice: not found
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ openoffice
openoffice: command not found
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ openoffice4
/usr/bin/openoffice4: 22: exec: /opt/openoffice4/program/soffice: not found
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ sudo openoffice4
[sudo] password for joe:
/usr/bin/openoffice4: 22: exec: /opt/openoffice4/program/soffice: not found
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$
Attachments
Screenshot_2023-09-06_11-58-48.png
Screenshot_2023-09-06_11-58-48.png (61.98 KiB) Viewed 5304 times
Last edited by robleyd on Fri Sep 08, 2023 1:17 am, edited 3 times in total.
Reason: Add green tick
OpenOffice 4.1.14
Xubuntu 22.04.3 LTS
User avatar
Hagar Delest
Moderator
Posts: 32668
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: New install won't open on Xubuntu 22

Post by Hagar Delest »

Hi and welcome to the forum!

Have you installed the debs that were in ~/Downloads/en-US/DEBS?
You need to install them before installing the packages in the desktop-integration folder.
See also: [Tutorial] Installing Apache OpenOffice on GNU/Linux.

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
StrobeWylan
Posts: 3
Joined: Wed Sep 06, 2023 6:16 pm

Re: New install won't open on Xubuntu 22

Post by StrobeWylan »

Okay here's what I get.

Removing libuno-cppuhelpergcc3-3 (1:7.3.7-0ubuntu0.22.04.3) ...
Removing uno-libs-private (1:7.3.7-0ubuntu0.22.04.3) ...
Removing libuno-purpenvhelpergcc3-3 (1:7.3.7-0ubuntu0.22.04.3) ...
Removing libuno-cppu3 (1:7.3.7-0ubuntu0.22.04.3) ...
Removing libuno-salhelpergcc3-3 (1:7.3.7-0ubuntu0.22.04.3) ...
Removing libuno-sal3 (1:7.3.7-0ubuntu0.22.04.3) ...
Removing libvisio-0.1-1:amd64 (0.1.7-1build5) ...
Removing libwpd-0.10-10:amd64 (0.10.3-2build1) ...
Removing libxmlsec1-nss:amd64 (1.2.33-1build2) ...
Removing libxmlsec1:amd64 (1.2.33-1build2) ...
Removing libyajl2:amd64 (2.1.0-3build2) ...
Removing lp-solve (5.5.2.5-2build2) ...
Removing librevenge-0.0-0:amd64 (0.0.4-6ubuntu7) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ sudo dpkg -i *.deb desktop-integration/*.deb
dpkg: error: cannot access archive 'desktop-integration/*.deb': No such file or directory
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ sudo dpkg -i *.deb desktop-integration/*.deb
dpkg: error: cannot access archive 'desktop-integration/*.deb': No such file or directory
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$

You probably have to dumb this down for me, please.
OpenOffice 4.1.14
Xubuntu 22.04.3 LTS
User avatar
robleyd
Moderator
Posts: 5087
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: New install won't open on Xubuntu 22

Post by robleyd »

You might find Installing the packages helpful. In particular, after extracting/unpacking the downloaded file,
a new folder will be generated. Inside this folder you'll find a folder named RPMs or DEBs, depending on the package you downloaded. Move to that folder and open a virtual terminal there.
From your information above, you are working in ~/Downloads/en-US/DEBS/desktop-integration - you should be in ~/Downloads/en-US/DEBS
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
User avatar
RoryOF
Moderator
Posts: 34618
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: New install won't open on Xubuntu 22

Post by RoryOF »

There are two steps, the first is to run the dpkg command in ~/Downloads/en-US/DEBS, then to CD cd in that folder to desktop-integration and run the dpkg command again.

For confirmation: when correctly installed as in above hints and in the link robleyd gives, OO runs on Ubuntu 22.04.
.
 Edit:  cd command, as all commands etc in linux, is case sensitive. Corrected inadvertent error. 
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Bill
Volunteer
Posts: 8934
Joined: Sat Nov 24, 2007 6:48 am

Re: New install won't open on Xubuntu 22

Post by Bill »

StrobeWylan wrote: Thu Sep 07, 2023 5:04 am
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ sudo dpkg -i *.deb desktop-integration/*.deb
dpkg: error: cannot access archive 'desktop-integration/*.deb': No such file or directory
joe@joe-ThinkCentre-M73:~/Downloads/en-US/DEBS/desktop-integration$ sudo dpkg -i *.deb desktop-integration/*.deb
You're running sudo dpkg -i *.deb in the wrong directory. Your terminal is open in the desktop-integration directory which does not have the core packages for installing AOO. While in the desktop-integration directory, type the command "cd .." (without the quotes) to move up to the DEBS directory, then run sudo dpkg -i *.deb to install the core packages. When that completes, then type "cd desktop-integration" to move to the desktop-integration directory, then run sudo dpkg -i *.deb to finish the installation.
AOO 4.1.14 on Ubuntu MATE 22.04
StrobeWylan
Posts: 3
Joined: Wed Sep 06, 2023 6:16 pm

Re: New install won't open on Xubuntu 22

Post by StrobeWylan »

Thank You Bill, and RoryOF and robleyd. I got it running and could not have done it without YOU.
I have tried to do this for many years, ever since they removed it from the Ubuntu "Software" app.
Libre was never as good for what we needed and OO is perfect. I had used it for at least 20 years and when that computer crashed last winter I was forced to use Libre, but it's so different and frankly was harder to use than installing OO turned out to be (but only with your help).
I will attempt to mark this solved. Hope I can figure that out---LOL
Thanks again!
OpenOffice 4.1.14
Xubuntu 22.04.3 LTS
User avatar
Hagar Delest
Moderator
Posts: 32668
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] New install won't open on Xubuntu 22

Post by Hagar Delest »

Not sure what was wrong with my recommendation but well, you got it fixed.
You should read again the tutorial (the one provided by RoryOF is the very same I gave) to understand what you copy and paste in your terminal.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Post Reply