Page 1 of 1

Unable to install OpenOffice in Ubuntu

PostPosted: Thu Jun 07, 2018 7:57 pm
by balasahu
Hi,

I am new to Linux. I want to install OpenOffice in Ubuntu. I tried the below command.

Code: Select all   Expand viewCollapse view
$ sudo apt-get install openoffice.org


and got the below error...

Code: Select all   Expand viewCollapse view
Package "openoffice.org" has no installation candidate.


Can any one please suggest me the proper steps for installation of latest OpenOffice package.

Thanks

Re: Unable to install OpenOffice in Ubuntu

PostPosted: Thu Jun 07, 2018 8:15 pm
by FJCC
You have to download the package from www.openffice.org and install it manually. There are instructions here.

Re: Unable to install OpenOffice in Ubuntu

PostPosted: Thu Jun 07, 2018 8:37 pm
by Villeroy
You already have LibreOffice installed. LibreOffice is the new OpenOffice. Almost the same software.

Re: Unable to install OpenOffice in Ubuntu

PostPosted: Thu Jun 07, 2018 11:01 pm
by RoryOF
If you really want OpenOffice rather than LibreOffice (some of us do), for Ubuntu you should download the deb version from the download page (linked off the OpenOffice icon at bottom right of Forum window). Expand that file, then do

Code: Select all   Expand viewCollapse view
sudo apt purge libreoffice*

Then
Code: Select all   Expand viewCollapse view
cd ~/Downloads/en-US/DEBS
sudo dpkg -i *.deb
cd desktop-integration
sudo dpkg -i *.deb


 Edit: the en-US portion of the directory path may differ according to the language version you downloaded. 

Re: Unable to install OpenOffice in Ubuntu

PostPosted: Thu Jun 07, 2018 11:37 pm
by Villeroy
OpenOffice is barely usable with Ubuntu's vanilla window manager "Unity".
It always focusses the wrong window. A new OpenOffice window always lands at the bottom of the window stack. Dialogs are not focussed before you click on them.
More importantly, OpenOffice does not support Windows shares. menu:File>Open shows the all the contents of a Windows share, but I can not open any of the office documents (nothing happens with no error). Under Windows you have to map the share to a drive letter which is not an option when running Linux.
The version of LibreOffice which is shipped with the distribution is very well integrated into the overall desktop environment, supports all kinds of network resources (including cloud drives) and a lot more foreign file formats which can be particularly important when you change systems.
For some reason I don't know, LibreOffice does not install the Base component. If you want to do anything database related (e.g. serial letters and label printing) you can install the missing package like this:
Code: Select all   Expand viewCollapse view
sudo apt install libreoffice-base


I'm aware of the theoretical advantages of OpenOffice over LibreOffice but I would not recommend OpenOffice to first time Linux users. They have enough fights to struggle.

Re: Unable to install OpenOffice in Ubuntu

PostPosted: Fri Jun 08, 2018 8:41 am
by RoryOF
I use OO on Xubuntu 18.04 with no problems; the problem with Windows shares requires a share to be marked as follows - I quote a line from my rc.local to mount a remote share on boot

Code: Select all   Expand viewCollapse view
mount -t cifs //192.168.N.MM/Impress -o username=XXXXXXXXX,password=YYYYYYYYYYYYY,uid=1000,gid=1000,vers=1.0 /home/XXXXXXXXX/Desktop/Buffalo/Presentations

The clue was the "vers=1.0"

 Edit: I offer this solution in case it helps someone. 


Gigolo mounts were easier and did not need this, but I don't use them; if I get problems with shares on future Xubuntu releases, I may transition to them, but I try to make minimal changes to permit my daily work continue without interruption.

If one is a newcomer to linux, it may be much easier to use the LibreOffice in the distro repositories.

What Villeroy says about the Unity interface not co-operating with OO is no doubt correct; I don't use Unity as I prefer the simpler interface of Xubuntu.