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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-14-2005, 03:38 AM
|
#1
|
Member
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 795
Rep:
|
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?
|
|
|
11-14-2005, 03:42 AM
|
#2
|
Member
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 795
Original Poster
Rep:
|
Nevermind, everything is in .rpm format, I'm good to go.
|
|
|
11-14-2005, 03:44 AM
|
#3
|
LQ Newbie
Registered: Nov 2005
Posts: 20
Rep:
|
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.
|
|
|
11-14-2005, 04:08 AM
|
#4
|
Member
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 795
Original Poster
Rep:
|
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.
|
|
|
11-14-2005, 04:15 AM
|
#5
|
Member
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 795
Original Poster
Rep:
|
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.
|
|
|
11-14-2005, 04:37 AM
|
#6
|
LQ Newbie
Registered: Nov 2005
Posts: 20
Rep:
|
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
|
|
|
02-16-2006, 07:47 PM
|
#7
|
Member
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 249
Rep:
|
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?
|
|
|
02-16-2006, 08:02 PM
|
#8
|
Member
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 795
Original Poster
Rep:
|
After directing yourself to the "RPMS" folder and entering root, I just run:
rpm -Uvih *rpm
Hope this helps. :-)
|
|
|
02-16-2006, 08:58 PM
|
#9
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
02-17-2006, 09:49 AM
|
#10
|
Member
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 249
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 05:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|