- Code: Select all Expand viewCollapse view
cd /usr/bin
ls -l soffice
lrwxrwxrwx 1 root root 34 Nov 27 11:13 soffice -> ../lib/libreoffice/program/soffice
ls -l ../lib/libreoffice/program/soffice
-rwxr-xr-x 1 root root 6051 Nov 27 11:13 ../lib/libreoffice/program/soffice
so soffice is a symbolic link pointing to file /usr/lib/libreoffice/program/soffice which is the executable of the pre-installed libreoffice program. That executable file ../lib/libreoffice/program/soffice is readable, writable and executable by its owner root, and executable by anyone else.
You can and you should run the pre-installed office suite if you are unfamiliar with a Linux system. LibreOffice is far better than OpenOffice. Threre are not many use cases where it may make sense to install OpenOffice on a Linux PC. On my Linux system I can run OpenOffice but I can not work with it since it crashes with most of my files having database forms.
I use my copy of OpenOffice just as a reference for this forum. I start it like this:
Alt+F2 starts a little dialog window where you can enter a command to be executed. The little tool has a history. Arrow up and arrow down lets you walk through that history.
/opt/openoffice/program/soffice is an entry in that history. Of course you can also start the program from a shell in a terminal window which also has a history.
If you really insist in working with OpenOffice as your default office suite on Ubuntu Linux:
- Code: Select all Expand viewCollapse view
cd /usr/bin
sudo rm soffice
removes the broken link. Now install the OpenOffice package which adds the desktop integration. It is a .deb file in a subdirectory of the extracted download package.
Your link might be broken because you removed the default office suite. However, this should have removed the link as well. Possibly you broke your system already.
P.S.
The installation of the "desktop integratioin" package for OpenOffice assuming that you extracted the downloaded package to your personal Downloads folder:
- Code: Select all Expand viewCollapse view
cd ~/Downloads/en-US/DEBS/desktop-integration/
sudo dpkg -i --force-overwrite *.deb
This will re-register the broken link /usr/bin/soffice to OpenOffice even if it used to be registered for LibreOffice before. Without --force-overwrite the system would refuse to install the new package because that file already belongs to another package.