LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-14-2005, 03:38 AM   #1
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
Installing OpenOffice 2.0 from Source


I'm still newbish at compiling, most of my software installing has been done via the urpmi commands, I'm running Mandriva 2005 LE and have OpenOffice 1.x installed. I am downloading 2.0 right now and was wondering about a couple of things. Should I completely remove all traces of the older openoffice version first? Also will installing it from source automatically put the shortcuts in my application menu?
 
Old 11-14-2005, 03:42 AM   #2
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Original Poster
Rep: Reputation: 56
Nevermind, everything is in .rpm format, I'm good to go.
 
Old 11-14-2005, 03:44 AM   #3
meranto
LQ Newbie
 
Registered: Nov 2005
Posts: 20

Rep: Reputation: 0
Re: Installing OpenOffice 2.0 from Source

Quote:
Originally posted by dudeman41465
I'm still newbish at compiling, most of my software installing has been done via the urpmi commands, I'm running Mandriva 2005 LE and have OpenOffice 1.x installed. I am downloading 2.0 right now and was wondering about a couple of things. Should I completely remove all traces of the older openoffice version first? Also will installing it from source automatically put the shortcuts in my application menu?
This all depends on what flags you passed when you were running "configure"

Just as a reminder, while compiling OO2 it might need as much as 5 GB of diskspace and it takes very long, I've heard up to 20 hours. Why don't you install the binary? the speed that you gain from compiling is neglicible.
 
Old 11-14-2005, 04:08 AM   #4
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Original Poster
Rep: Reputation: 56
Done

Got it, for some odd reason the install didn't work if I ran the rpms individually via the gui, but when I su'd into the rpms folder after I untarred it and ran -Uvih *rpm it worked perfect, I could run the applications via command before the shortcuts were in the menu even, but now everything is working perfect. Thanks for the tip, when you said install from binary I thought, hey wait a minute I'll bet this is something I need root privlages to make work properly.
 
Old 11-14-2005, 04:15 AM   #5
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Original Poster
Rep: Reputation: 56
PS. Where did you hear 20 hours and 5 GB? I lost .1 GB of root partition space and it took like 2 minutes, lol.
 
Old 11-14-2005, 04:37 AM   #6
meranto
LQ Newbie
 
Registered: Nov 2005
Posts: 20

Rep: Reputation: 0
Quote:
Originally posted by dudeman41465
PS. Where did you hear 20 hours and 5 GB? I lost .1 GB of root partition space and it took like 2 minutes, lol.
That is when you install the binary version. If you compile openoffice2.0 from source (like in gentoo "emerge openoffice" instead of "emerge openoffice-bin") it will consume several GB's during the compiling process and it will take very long to compile all of it (especially when you use java with it)

That's why I chose the openoffice-bin version, that indeed takes about a minute or 2 and 200 MB of diskspace
 
Old 02-16-2006, 07:47 PM   #7
secretlydead
Member
 
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 249

Rep: Reputation: 31
Dudeman,

Can you tell me the exact line you entered when you say -Uvih *rpm?

Unpack the tar into my home folder
go into the RPMS directory (that ark just created) in a terminal
login in by typing "su"
enter root password
and then enter what?
 
Old 02-16-2006, 08:02 PM   #8
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Original Poster
Rep: Reputation: 56
After directing yourself to the "RPMS" folder and entering root, I just run:

rpm -Uvih *rpm

Hope this helps. :-)
 
Old 02-16-2006, 08:58 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I wouldn't install OOo from source. The process can be very long and it needs lots of temporary disk space. On FreeBSD the ports installer says that OOo needs about 9 gigs of free space to build.

Don't forget to install the mandriva menus packages in RPMS/desktop-integration.
 
Old 02-17-2006, 09:49 AM   #10
secretlydead
Member
 
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 249

Rep: Reputation: 31
I did do that (use the command line to install all rpm's at once, then install the desktop integration rpm's that came from the tar file found at openoffice.org). OpenOffice 2.0 installed quite nicely.

Why
when using the GUI, having entered the root password, does rpm refuse to install the rpm's one at a time, claiming dependancy after dependancy, when you eventually find out a circular dependancy between two files
but
when using the command line and installing the rpm's all at once, this does not happen?
If I used the command line to install just one rpm, would i still have received the dependancy error? Or will using the command line to install an rpm always force install?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Openoffice Langpack integration with source sailajabhandaru Linux - Software 0 11-08-2005 11:19 PM
Viewing HTML Source in OpenOffice pre 2.0 slacker9876 SUSE / openSUSE 1 07-01-2005 01:40 PM
openoffice source code huno Linux - Software 1 05-03-2004 12:37 PM
OpenOffice Data Source Informix SteveT Linux - General 1 10-31-2003 03:04 AM
OpenOffice installing Waldi Slackware 1 04-02-2003 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration