Solved

Install Open Office on RHEL Linux 6

Posted on 2013-11-06
38
71 Views
Last Modified: 2016-07-10
Hi Experts
I am looking how to install Open Office on RH Linux 6 because currently I have Lotus Symphony which I do not like and I want to install Open Office to use Word, Excel
And when I install I want every word, excel use it as default open software.
I have tried to install on other machine but I do not see open office under  More Applications
It did not appear that.  I am looking proper installation.

Thanks
0
Comment
Question by:MSGK161091
  • 16
  • 8
  • 8
  • +2
38 Comments
 
LVL 9

Expert Comment

by:neilpage99
ID: 39629105
Issue the command:
yum list installed | grep office

...and check to see that it infact installed.

If it is, then log out and back in - check all the software folders (i.e. office, productivity, applications, etc) (I can't remember their names).
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39629108
[xxxxx@oc7236841850 ~]$ yum list installed | grep office
[xxxxx@oc7236841850 ~]$

return nothing. looks like it is not.  
I have just migrated  this week, I do not think it have. its new machine
0
 
LVL 23

Expert Comment

by:savone
ID: 39629119
You can install LibreOffice very easily.  LibreOffice is the same as OpenOffice just not owned by Oracle.

Learn more about LibreOffice here:
http://www.infoworld.com/d/applications/review-apache-openoffice-4-vs-libreoffice-41-224280

To install in RH6 open a terminal and become root.

type the following command:
yum -y install libreoffice*

Then to make it save as .doc, .xlsx, etc... Open Writer, which is LibreOffice version of Word.  Go to tools > options

Then select Load/Save from the menu.  At the bottom change "Always save as" to Microsoft Word 97/2000/XP/2003.

Then change the Document Type on the left to spreadsheet.  Now change "Always save as" to Microsoft Excel 97/2000/XP/2003

Click ok.
LibreOffice Screenshot
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39629135
Ok thanks savone, something you suggest I was expecting and in mind.
Can you please provide the link I need to download libreoffice from

http://www.libreoffice.org/download

I found above, please suggest what I need to go for
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39629165
Hi I have downloaded and did tar -xvf to untar   .tar.gz  file

What's next?

[root@oc7236841850 Downloads]# ls
LibreOffice_4.1.3.2_Linux_x86-64_rpm_helppack_en-US
LibreOffice_4.1.3_Linux_x86-64_rpm_helppack_en-US.tar.gz
0
 
LVL 23

Expert Comment

by:savone
ID: 39629179
If you follow my directions you will not need to download it at all.  "Yum" will do all of that for you.

You can install it the way you are doing it also, called installing from "source".  But that way you will not receive regular updates.  

If you follow my directions it will do all the installing for you.
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39629187
try
tar -zxvf LibreOffice_4.1.3_Linux_x86-64_rpm_helppack_en-US.tar.gz
cd LibreOffice_4.1.3_Linux_x86-64_rpm_helppack_en-US
rpm -ivh *rpm

Open in new window

0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39629198
Hi  Savone

I have already tried what you asked, please see the result...

[root@oc7236841850 LibreOffice_4.1.3.2_Linux_x86-64_rpm_helppack_en-US]# yum -y install libreoffice*
Loaded plugins: downloadkvmonly-background, downloadonly-background, ibm-check-
              : lotus-updates, ibm-repository, refresh-packagekit, security,
              : versionlock
Setting up Install Process
No package libreoffice* available.
Error: Nothing to do
0
 
LVL 23

Expert Comment

by:savone
ID: 39629206
It looks like openoffice comes with Redhat, I am using CentOS.

try this:

yum -y install openoffice*
0
 
LVL 23

Expert Comment

by:savone
ID: 39629208
Or try this:

yum groupinstall "Office Suite and Productivity"
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39629222
No Luck !!!!   Here is the result


[root@oc7236841850 LibreOffice_4.1.3.2_Linux_x86-64_rpm_helppack_en-US]# yum groupinstall "Office Suite and Productivity"
Loaded plugins: downloadkvmonly-background, downloadonly-background, ibm-check-
              : lotus-updates, ibm-repository, refresh-packagekit, security,
              : versionlock
Setting up Group Process
Warning: Group office-suite does not have any packages.
No packages in any requested group available to install or update
0
 
LVL 23

Expert Comment

by:savone
ID: 39629264
Are you connected to RHN?
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39629268
No.. How can I?
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39629274
You downloaded the tar file. Have you ever try to untar it and install it?
0
 
LVL 23

Expert Comment

by:savone
ID: 39629288
If you use Red Hat Linux, you have to pay for a subscription and the ability to download/upgrade packages.

If you have a license, use the rhn_register command to register your system with Red Hat.

If you did not pay for license, then download CentOS.  It is the same thing as RedHat without the licensing.
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39629314
Hi Mazdajai
I have download it.   rpm  does not install proper way last time, so I am hesitant to try this

The machine I am using , which got linux, it provided by one of well known global company.
So ofcourse it would be licensed.
0
 
LVL 23

Expert Comment

by:savone
ID: 39629338
The register it with RHN (you will need credentials) and install openoffice like above.
0
 
LVL 23

Expert Comment

by:savone
ID: 39629340
Also, if it is licensed you have Red Hat support automatically.  You can search their knowledgebase and also chat, email and call support.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 21

Expert Comment

by:Mazdajai
ID: 39630340
I have download it.   rpm  does not install proper way last time, so I am hesitant to try this

I have installed it many times without issue. what commands were you using? Is it the exact verison?
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39632159
THis is the error I am getting now..

[root@oc7236841850 LibreOffice_4.1.3.2_Linux_x86-64_rpm_helppack_en-US]# cd RPMS
[root@oc7236841850 RPMS]# dir
libobasis4.1-en-US-help-4.1.3.2-2.x86_64.rpm
[root@oc7236841850 RPMS]# rpm -Uvih *rpm
error: Failed dependencies:
      libobasis4.1-en-US is needed by libobasis4.1-en-US-help-4.1.3.2-2.x86_64
[root@oc7236841850 RPMS]#
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39637347
Try -ivh intead. -U is for upgrade and -i is for upgrade, you cannot have both.

Or alternatively  -

cd LibreOffice_4.1.3.2_Linux_x86-64_rpm_helppack_en-US/RPMS/
yum localinstall *.rpm

Open in new window

0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39640353
Tried both, no luck

[root@oc7236841850 ~]# yum localinstall *.rpm
Loaded plugins: downloadkvmonly-background, downloadonly-background, ibm-check-
              : lotus-updates, ibm-repository, refresh-packagekit, security,
              : versionlock
Setting up Local Package Process
Cannot open: *.rpm. Skipping.
Nothing to do



[root@oc7236841850 ~]# rpm -ivh *rpm
error: File not found by glob: *rpm
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39640639
ANyway I able to install finally by installing some dependencies from below link
http://dvd.de.libreofficebox.org/libreoffice/linux-rpm-64-en-us/

 but can't find where it gone or how to open it

completion confirmation :
.

.
.
.
.

Installed size: 24 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : libobasis4.1-en-US-help-4.1.3.2-2.x86_64 1/1
Verifying : libobasis4.1-en-US-help-4.1.3.2-2.x86_64 1/1

Installed:
libobasis4.1-en-US-help.x86_64 0:4.1.3.2-2

Complete!

But I do not see any icon or able to run /opt/libreoffice4.1/program/soffice

How can I get its GUI or able to start.
please help
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39640779
Tried both, no luck
You were in the wrong path, you need to cd to the RPMs directory as listed from my commands.

Try typing libreoffice in terminal.
libreoffice

Open in new window

0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39640815
to Type libreoffice  where I need to be, under what Dir.

It says,  command not found..

[root@oc7236841850 libreoffice4.1]# pwd
/opt/libreoffice4.1
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39640817
In ALT+F2 Run dialog?
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39643442
Does not work.
Says,   Cannot Find
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39643511
Looking at thispost, I don't think you have it installed, only the dependency.


Go to the RPM folder, run the commands and post your output.
cd LibreOffice_4.1.3.2_Linux_x86-64_rpm_helppack_en-US/RPMS/
yum localinstall *.rpm
0
 
LVL 1

Accepted Solution

by:
MSGK161091 earned 0 total points
ID: 39643625
Thanks Guys for Helping

I able to download open Office atlast.
I want to close this questions. I think I do not want  LibreOffice now.

Regards
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39643694
Have you try installing LibreOffice suggested from my last post?
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39643739
Yes . I have tried..   Did  not worked.................


[root@oc7236841850 RPMS]# yum localinstall *.rpm
Loaded plugins: downloadkvmonly-background, downloadonly-background, ibm-check-
              : lotus-updates, ibm-repository, refresh-packagekit, security,
              : versionlock
Setting up Local Package Process
Examining libobasis4.1-en-US-help-4.1.3.2-2.x86_64.rpm: libobasis4.1-en-US-help-4.1.3.2-2.x86_64
libobasis4.1-en-US-help-4.1.3.2-2.x86_64.rpm: does not update installed package.
Nothing to do
0
 
LVL 61

Expert Comment

by:gheist
ID: 39644761
RHEL6 has veeeryy old release of GLIBC, so all your rpm install options are prone to fail
in particular yum localinstall installs packages in chroot etc.

Your RHEL6 system includes Libreoffice 3.2 with rhel patches
GLIBC 2.5 openoffice 3.4.1 is here http://www.openoffice.org/porting/index.html

To make repository from RPMs:
untar rpms in directory
run # createrepo .
put file.repo containig following in /etc/yum.repos.d
[off]
name=office
baseurl=file:///opt/office
gpgcheck=0
enabled=1

you might need to run ldconfig when switching from one to other.

now "yum install" the way you like it.
to upgrade - untar next release, createrepo and yum update...
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39655199
Thanks Gheist

Your reply make some sense but as I have said in my last post, I have already installed Open Office from package manager, So looks like it fullfills  my purpose what I want to d0.

I do not think I need any more to try Libre now.
0
 
LVL 61

Expert Comment

by:gheist
ID: 39655670
You actually have Libreoffice :)
Ok, fine for me, just gradetheothers who helpedyou...
0
 
LVL 1

Author Comment

by:MSGK161091
ID: 39655713
Honestly speaking, I got open office not Libreoffice.
If you see all the discussions were going through was about Libre, but none suggestion worked and at last via manual software upates scan I do see open office there and later on it install by it self.
0
 
LVL 61

Expert Comment

by:gheist
ID: 41701769
https:#a39629187 (though asker is still under impression that by installing LibreOffice he got OpenOffice.org somehow)
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now