Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th November 2005, 02:18 PM
skymer Offline
Registered User
 
Join Date: Jun 2005
Posts: 17
How to install openoffice 2 on FC4

Can any one show how to install OOo 2 on FC4

1) I downloaded the OOo 2 to /opt/openoffice2
than tar xvzf OOo_2.0.0_LinuxIntel_install.tar.gz
and manage to get the various directory included RPMS

2) in /RPMS/desktop-integration
I perform: rpm -Uvih openoffice.org-redhat-menus-2.0.0-3.noarch.rpm

3) it shown this error message:
error: Failed dependencies:
openoffice.org-core01 is needed by openoffice.org-redhat-menus-2.0.0-3.noarch
the openoffice.org-core01-2.0.0-3.i586.rpm is actually in /RPMS directory

I even placed openoffice.org-redhat-menus-2.0.0-3.noarch.rpm on the directory together with the openoffice.org-core01-2.0.0-3.i586.rpm which is /RPMS

4) than i try yum install openoffice.org-redhat-menus-2.0.0-3.noarch.rpm

5) than I get error:
Error: Missing Dependency: openoffice.org-core01 is needed by package openoffice.org-redhat-menus
[root@cm117 desktop-integration]# rpm -vih openoffice.org-redhat-menus-2.0.0-3.noarch.rpm
error: Failed dependencies:
openoffice.org-core01 is needed by openoffice.org-redhat-menus-2.0.0-3.noarch


where i got it wrong? can some one help.
Reply With Quote
  #2  
Old 15th November 2005, 03:01 PM
Twey's Avatar
Twey Offline
Registered User
 
Join Date: Mar 2005
Location: England
Posts: 867
Code:
# yum update openoffice.org-core
__________________
Twey
Reply With Quote
  #3  
Old 15th November 2005, 03:09 PM
skymer Offline
Registered User
 
Join Date: Jun 2005
Posts: 17
Still can't get it after trying the follow:

[root@cm117 desktop-integration]# yum update openoffice.org-core
Setting up Update Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 838 kB 00:03
extras : ################################################## 2384/2384
Added 26 new packages, deleted 22 old in 9.88 seconds
Could not find update match for openoffice.org-core
No Packages marked for Update/Obsoletion
[root@cm117 desktop-integration]#
Reply With Quote
  #4  
Old 15th November 2005, 03:22 PM
ArthurK
Guest
 
Posts: n/a
What you need to do is install the rpms listed in the /RPMS directory. Since you have placed the menu entry rpm, openoffice.org-redhat-menus-2.0.0-3.noarch.rpm, into that folder then you can install the entire openoffice program with the command (from within the /RPMS folder):

rpm -Uvh openoffice*rpm

OpenOffice.org builds their rpms by placing core libraries and programs into "core" rpm packages and then places separate programs into other rpms. You need to install all of the core rpms to be able to install the other programs. The rpm package openoffice.org-redhat-menus-2.0.0-3.noarch.rpm just creates menu entries for OpenOffice.

When it is properly installed, the installed OpenOffice packages, using the command rpm -qa | grep openoffice , will be:
[arthur@localhost ~]$ rpm -qa | grep openoffice
openoffice.org-core08-2.0.0-3
openoffice.org-core09-2.0.0-3
openoffice.org-pyuno-2.0.0-3
openoffice.org-core04-2.0.0-3
openoffice.org-core04u-2.0.0-3
openoffice.org-core10-2.0.0-3
openoffice.org-core02-2.0.0-3
openoffice.org-core01-2.0.0-3
openoffice.org-core03u-2.0.0-3
openoffice.org-gnome-integration-2.0.0-3
openoffice.org-spellcheck-2.0.0-3
openoffice.org-draw-2.0.0-3
openoffice.org-redhat-menus-2.0.0-3
openoffice.org-impress-2.0.0-3
openoffice.org-testtool-2.0.0-3
openoffice.org-core05-2.0.0-3
openoffice.org-core07-2.0.0-3
openoffice.org-javafilter-2.0.0-3
openoffice.org-calc-2.0.0-3
openoffice.org-writer-2.0.0-3
openoffice.org-math-2.0.0-3
openoffice.org-base-2.0.0-3
openoffice.org-core05u-2.0.0-3
openoffice.org-core03-2.0.0-3
openoffice.org-core06-2.0.0-3
openoffice.org-graphicfilter-2.0.0-3
openoffice.org-xsltfilter-2.0.0-3

Last edited by ArthurK; 15th November 2005 at 03:30 PM. Reason: typo
Reply With Quote
  #5  
Old 15th November 2005, 03:39 PM
skymer Offline
Registered User
 
Join Date: Jun 2005
Posts: 17
also try rpm -Uvh openoffice*rpm then i got the following and it stop there

[root@cm117 RPMS]# rpm -Uvh openoffice*rpm
Preparing... ########################################### [100%]
package openoffice.org-core08-2.0.0-3 is already installed
package openoffice.org-core07-2.0.0-3 is already installed
package openoffice.org-core06-2.0.0-3 is already installed
package openoffice.org-core05-2.0.0-3 is already installed

then I try to install one by one and i got
[root@cm117 RPMS]# rpm -Uivh openoffice.org-core01-2.0.0-3.i586.rpm
error: Failed dependencies:
openoffice.org-core02 is needed by openoffice.org-core01-2.0.0-3.i586
openoffice.org-core03 is needed by openoffice.org-core01-2.0.0-3.i586
openoffice.org-core04 is needed by openoffice.org-core01-2.0.0-3.i586

can some one guide me through in simple way..... thanks first..
Reply With Quote
  #6  
Old 15th November 2005, 03:59 PM
ArthurK
Guest
 
Posts: n/a
Quote:
Originally Posted by skymer
also try rpm -Uvh openoffice*rpm then i got the following and it stop there

[root@cm117 RPMS]# rpm -Uvh openoffice*rpm
Preparing... ########################################### [100%]
package openoffice.org-core08-2.0.0-3 is already installed
package openoffice.org-core07-2.0.0-3 is already installed
package openoffice.org-core06-2.0.0-3 is already installed
package openoffice.org-core05-2.0.0-3 is already installed

then I try to install one by one and i got
[root@cm117 RPMS]# rpm -Uivh openoffice.org-core01-2.0.0-3.i586.rpm
error: Failed dependencies:
openoffice.org-core02 is needed by openoffice.org-core01-2.0.0-3.i586
openoffice.org-core03 is needed by openoffice.org-core01-2.0.0-3.i586
openoffice.org-core04 is needed by openoffice.org-core01-2.0.0-3.i586

can some one guide me through in simple way..... thanks first..
It looks like you have some of the openoffice-core rpms installed. Instead of finding out which are installed and which need to be installed, you can just install the ones you don't have and reinstall the ones you do. This can be done with the following command, again while you are in the /RPMS folder:

rpm -Uvh --replacepkgs openoffice*rpm

FYI:From rpm --help
--replacepkgs reinstall if the package is already present
Reply With Quote
  #7  
Old 15th November 2005, 04:30 PM
jowah Offline
Registered User
 
Join Date: Dec 2004
Location: Under your bed
Posts: 293
You have tried to install OO2 using the OpenOffice.org rpm packages.

What you could have done: installed the OpenOffice suit that comes with FC4 and then update it. This would have taken you to OO2 just fine.

What you might want to try now:
  • Clean up the mess
  • Just do it using FC4 updates

1 - clean up the mess
This involves uninstalling the OO.org RPM packages you've just installed:
Code:
# rpm -qa|grep openoffice|xargs rpm -e
2 - install OO 1.9 that comes with FC4 and update it
A - install the OpenOffice suit that comes with FC4:
Code:
# yum -y groupinstall "Office/Productivity"
Actually, this gives you not only OO but two other packages - "planner" (a project management tool) and "evince" (a PDF document reader), but it's the easiest way to install OO IMHO.

B - update it (and the rest of your OS, for that matter
Code:
# yum -y update
Why is this better? It should be pretty obvious, but... from now on, any updates to OpenOffice that are issued for FC4 will be handled by FC4:s own update system (be it Yum or up2date).

In summary:
FC4 has OpenOffice 2 available trough the normal update service. There's no need to faff about with third-party packages that might make a mess of your system. This way, one's system will stay updated (asssuming you enable the automatic updates).

Keeping your system up to date
Two ways of going about it: manual and automatic. The manual way is seen above, which is just a matter of doing
Code:
yum -y update
ever so often. The alternative is to enable automatic yum updates and just be done with it:
Code:
service rhnsd stop
chkconfig rhnsd off
chkconfig yum on
service yum start
EDIT: Which method of getting OO2 that is "right" and "wrong" is of course a matter of perspective.
There should however be little argument over the fact that for new Fedora and Linux users, using Fedora's own updates framework for maintaining your system is in most cases preferable to using third-party packages.

Last edited by jowah; 15th November 2005 at 05:50 PM. Reason: Less controversial formulation(s)
Reply With Quote
  #8  
Old 15th November 2005, 05:23 PM
cr4ck3r Offline
Registered User
 
Join Date: Oct 2005
Posts: 219
I don't agree with you jowah.
I myself didn't install open-office (come with Fedora Core 4, which is version 1.9)
I've downloaded OpenOffice 2.0 from its homepage.
Here are my steps:
1. Change to the RPMS directory
2. Execute the command rpm -Uvh *.rpm
3.1. If you want to make some shortcuts in the Application menu of Gnome, change to the directory desktop-intergration
3.2. Execute the comand rpm -Uvh openoffice.org-redhat-menus-2.0.0-3.noarch.rpm (If you're using Fedora Core 4 like me)
And everything went smoothly.

Last edited by cr4ck3r; 15th November 2005 at 05:25 PM.
Reply With Quote
  #9  
Old 15th November 2005, 05:45 PM
jowah Offline
Registered User
 
Join Date: Dec 2004
Location: Under your bed
Posts: 293
Quote:
Originally Posted by cr4ck3r
I don't agree with you jowah.

...
Aye - I admit being a bit too harsh in my first "edition" of that reply - as you've shown, it's quite possible to get OO2 installed using the third-party RPM:s. I've now edited my post to describe an alternative (and, IMHO, preferable) way of doing it.

It is definitely much easier to do than all that manual downloading and messing about. The OP seems to be somewhat new to Linux and/or Fedora.

Last edited by jowah; 15th November 2005 at 05:56 PM.
Reply With Quote
  #10  
Old 16th November 2005, 01:36 AM
cr4ck3r Offline
Registered User
 
Join Date: Oct 2005
Posts: 219
Thank for your comment jowah, I'm also new to Linux.
I've learnt something from you.
Reply With Quote
  #11  
Old 16th November 2005, 06:43 AM
skymer Offline
Registered User
 
Join Date: Jun 2005
Posts: 17
Hi all,

great discussion... I am not new to linux but more like a users and i normally set it myself.....

just installed FC4 and notices it come with OO2 beta.. yes I know it can update through up2date but my problem is there is one file missing thus can't procced to update.

at the same time i want to dirty my hand so that i can learn more about linux by manually installing it. of cause i need your help.... on how to do it manually. Thanks man...

I will do:
1. Clean up the mess: rpm -qa|grep openoffice|xargs rpm -e
2. reinstall by: rpm -Uvh *.rpm
3. Than create the shortcut: rpm -Uvh openoffice.org-redhat-menus-2.0.0-3.noarch.rpm

hope it work.. will try tonight..
Reply With Quote
  #12  
Old 16th November 2005, 03:20 PM
skymer Offline
Registered User
 
Join Date: Jun 2005
Posts: 17
yes... look like it work.... but still have problem.... do not have icon to start the OOo like write , base etc... what should i do now? also I do not know where is the executable program file (e.g write) located

below are the capture of what I did....

[root@localhost RPMS]# rpm -Uvh *.rpm
Preparing... ########################################### [100%]
1:openoffice.org-core08 ########################################### [ 4%]
2:openoffice.org-core07 ########################################### [ 8%]
3:openoffice.org-core06 ########################################### [ 12%]
4:openoffice.org-core05 ########################################### [ 15%]
5:openoffice.org-core04 ########################################### [ 19%]
6:openoffice.org-core03 ########################################### [ 23%]
7:openoffice.org-core01 ########################################### [ 27%]
8:openoffice.org-base ########################################### [ 31%]
9:openoffice.org-calc ########################################### [ 35%]
10:openoffice.org-core02 ########################################### [ 38%]
11:openoffice.org-core03u ########################################### [ 42%]
12:openoffice.org-core04u ########################################### [ 46%]
13:openoffice.org-core05u ########################################### [ 50%]
14:openoffice.org-core09 ########################################### [ 54%]
15:openoffice.org-core10 ########################################### [ 58%]
16:openoffice.org-draw ########################################### [ 62%]
17:openoffice.org-gnome-in########################################### [ 65%]
18:openoffice.org-graphicf########################################## # [ 69%]
19:openoffice.org-impress ########################################### [ 73%]
20:openoffice.org-javafilt########################################## # [ 77%]
21:openoffice.org-math ########################################### [ 81%]
22:openoffice.org-pyuno ########################################### [ 85%]
23:openoffice.org-spellche########################################## # [ 88%]
24:openoffice.org-testtool########################################## # [ 92%]
25:openoffice.org-writer ########################################### [ 96%]
26:openoffice.org-xsltfilt########################################## # [100%]
[root@localhost RPMS]#

[root@localhost desktop-integration]# rpm -Uvh openoffice.org-redhat-menus-2.0.0-3.noarch.rpm
Preparing... ########################################### [100%]
1:openoffice.org-redhat-m########################################### [100%]
***
* Updating MIME database in /usr/share/mime...
***
Reply With Quote
  #13  
Old 9th January 2006, 07:44 PM
olwe Offline
Registered User
 
Join Date: Mar 2005
Posts: 64
How 'bout Fed3 and OO2?

How much of the info above would be good for somebody still using Fed3 who wants to upgrade OO1.1.3 to OO2?
Reply With Quote
  #14  
Old 13th January 2006, 05:21 AM
skymer Offline
Registered User
 
Join Date: Jun 2005
Posts: 17
Quote:
Originally Posted by olwe
How much of the info above would be good for somebody still using Fed3 who wants to upgrade OO1.1.3 to OO2?
ya... i think it should work for FC3 as well... but be noted that it did not remove the old version of Ooo.
Reply With Quote
  #15  
Old 13th January 2006, 08:02 AM
valdes Offline
Registered User
 
Join Date: Jan 2006
Location: Ottawa
Age: 35
Posts: 58
I love this thread people. I myself love using RPM and have been for a few years. I see some awesome commands in here that I never bothered trying. Great Stuff!!

Here is a book I found most useful early on when learning about the rpm package installer.

Maximum RPM
http://www.rpm.org/max-rpm/

Valdes
Reply With Quote
Reply

Tags
fc4, install, openoffice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Openoffice - Best way to install? `danny Using Fedora 1 4th August 2009 07:56 AM
openoffice.org install SlowJet Using Fedora 7 31st August 2008 01:50 AM
how to install openoffice from openoffice website? sdowney717 Using Fedora 13 20th March 2007 02:25 AM
How to install OpenOffice from CD? duydq Installation and Live Media 3 12th July 2006 05:08 AM


Current GMT-time: 09:48 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat