Unable to install OpenOffice in Ubuntu

Issues with installing under all Linux Distributions

Unable to install OpenOffice in Ubuntu

Postby balasahu » Thu Jun 07, 2018 7:57 pm

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
balasahu
 
Posts: 1
Joined: Thu Jun 07, 2018 7:21 pm

Re: Unable to install OpenOffice in Ubuntu

Postby FJCC » Thu Jun 07, 2018 8:15 pm

You have to download the package from www.openffice.org and install it manually. There are instructions here.
AOO 3.4 or 4.1 on MS Windows XP ( before 2013-08-03) or Windows 7
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
FJCC
Moderator
 
Posts: 6518
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Unable to install OpenOffice in Ubuntu

Postby Villeroy » Thu Jun 07, 2018 8:37 pm

You already have LibreOffice installed. LibreOffice is the new OpenOffice. Almost the same software.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 16.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 25373
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Unable to install OpenOffice in Ubuntu

Postby RoryOF » Thu Jun 07, 2018 11:01 pm

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. 
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 26709
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Unable to install OpenOffice in Ubuntu

Postby Villeroy » Thu Jun 07, 2018 11:37 pm

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.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 16.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 25373
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Unable to install OpenOffice in Ubuntu

Postby RoryOF » Fri Jun 08, 2018 8:41 am

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.
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 26709
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland


Return to Linux

Who is online

Users browsing this forum: No registered users and 3 guests