Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

OpenOffice 2.0 Install question

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
29 posts
  • 1
  • 2
  • Next
Author
Message
SAngeli
l33t
l33t
User avatar
Posts: 904
Joined: Fri Apr 16, 2004 5:57 pm
Location: Italy

OpenOffice 2.0 Install question

  • Quote

Post by SAngeli » Tue Feb 15, 2005 9:55 am

Hi,

can anyone, please, tell me step by step how to install OpenOffice 1.9x on gentoo?

I know that I have to download OpenOffice.org Snapshot Build 1.9.m77 but after downloaded, what to do? Also, when I go to the mirror site to download the file, which file between this two should I get and will I be able to compile from source or to install the bin file?

- OOo_1.9.m77_native_LinuxIntel_install.tar.gz 92.89 MB [04-Feb-05] [Gzip tar file]
- OOo_1.9.m77_src.tar.gz 267.51 MB [04-Feb-05] [Gzip tar file]

I thank you for this answer,
Spiro
Top
localghost
Apprentice
Apprentice
User avatar
Posts: 185
Joined: Thu Oct 28, 2004 7:57 pm
Location: Sint-Niklaas, Belgium
Contact:
Contact localghost
Website

  • Quote

Post by localghost » Tue Feb 15, 2005 7:24 pm

I'm also interested - to try this on an AMD64.
411 /0µr 84$3 4r3 8310n9 70 µ$.
Top
firephoto
Veteran
Veteran
User avatar
Posts: 1612
Joined: Wed Oct 29, 2003 12:48 am
Location: +48° 5' 23.40", -119° 48' 30.00"

  • Quote

Post by firephoto » Tue Feb 15, 2005 11:10 pm

I just used rpm2targz and then extracted all the needed/wanted pieces to their proper home (In /opt). I used the suse bits to get my kdemenu entries after I pointed them in the right place and placed some files in my ~/.kde/ instead of /usr/kde/.

You could also use rpm and install them that way (I'm guessing) but you will still have to make some menu items or run them with /opt/Openoffic*/programs/swriter (for example).
Top
teilo
Apprentice
Apprentice
User avatar
Posts: 276
Joined: Fri Jun 20, 2003 2:36 pm
Location: Minneapolis, MN

  • Quote

Post by teilo » Wed Feb 16, 2005 5:14 am

I do this all the time on my x86 and my x86_64 machine.

1) If necessary, emerge rpm.
2) expand the OOo tarball.
3) Enter the RPMS directory which was just created
4) Delete the SuseMenus and RedhatMenus packages.
5) Enter the following command: rpm -i -v --nodeps *.rpm
6) Wait till it finishes
7) Binaries will be located here: /opt/openoffice.org1.9.xx/programs


To uninstall, you will need to execute "rpm -e package-name"for each of the packages you have installed via the above method. To get a list of all installed rpm packages, just enter "rpm -q -a".

I don't like the rpm2targz method. Takes too long, and is cumbersome for so many packages.
Teilo who is called Teilo
Top
Arainach
l33t
l33t
User avatar
Posts: 609
Joined: Thu Jul 08, 2004 2:30 am

  • Quote

Post by Arainach » Wed Feb 16, 2005 5:33 am

Here's what I did:

I used rpm2tgz (Google for it, it's a bash script, or I think that portage has a rpm2targz command or something like that) to convert them to .tgz files. I then extracted them all and moved the resulting directory to /opt. From there I followed the command line instructions from the Debian guide to get it working. Now it's perfect:

http://installation.openoffice.org/serv ... &msgNo=609
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Top
robet
l33t
l33t
User avatar
Posts: 807
Joined: Mon Sep 06, 2004 3:47 pm
Location: Earth/NorthAmerica/USA/NY

  • Quote

Post by robet » Wed Feb 16, 2005 5:56 am

Download, untar, rpm2targz, untar core files, untar any other progs you want. Move the resulting directory's (opt) files to /opt.
OOo 2 is very nice... quite a bit faster and not ugly!.
no software patents in europe! | adopt an unanswered post.
Top
SAngeli
l33t
l33t
User avatar
Posts: 904
Joined: Fri Apr 16, 2004 5:57 pm
Location: Italy

  • Quote

Post by SAngeli » Wed Feb 16, 2005 12:40 pm

Hi guys,

which one to download?

- OOo_1.9.m77_native_LinuxIntel_install.tar.gz 92.89 MB [04-Feb-05] [Gzip tar file]
- OOo_1.9.m77_src.tar.gz 267.51 MB [04-Feb-05] [Gzip tar file]

Thank you,
Spiro
Top
Sipi
Guru
Guru
User avatar
Posts: 406
Joined: Thu Apr 03, 2003 9:40 am
Location: Hungary

  • Quote

Post by Sipi » Wed Feb 16, 2005 12:43 pm

First one is the compiled binary. Second is the source code.
But if you look at the ebuild of OO in Portage, you should realize that compiling OO is a very hard thing.

I DO recommend to install the binary one.

Sipi
Top
SAngeli
l33t
l33t
User avatar
Posts: 904
Joined: Fri Apr 16, 2004 5:57 pm
Location: Italy

  • Quote

Post by SAngeli » Wed Feb 16, 2005 12:49 pm

Hi Sipi and thank you for your quick reply.

What is the benefit / advantages to compiled versus binary?

Thank you,
Spiro
Top
Sipi
Guru
Guru
User avatar
Posts: 406
Joined: Thu Apr 03, 2003 9:40 am
Location: Hungary

  • Quote

Post by Sipi » Wed Feb 16, 2005 12:55 pm

Compiling form source (in case you emerge it by Portage) SHOULD be faster than pre-compiled binary. But not always.
You can find posts on forums stating that binary is faster than compiled one.

It has a bigger meaning for Ximianized version of OO. They rewrote it a little bit, so you can select if you want OO be a little bit Gnome-ish, or a little bit KDE-ish.

However, compiling by hand is very hard. Compiling takes about 4-5 gigabytes of harddrive space AND almost a whole day...

Sipi
Top
SAngeli
l33t
l33t
User avatar
Posts: 904
Joined: Fri Apr 16, 2004 5:57 pm
Location: Italy

  • Quote

Post by SAngeli » Wed Feb 16, 2005 1:32 pm

Hi Sipi,

If I would compile from source, I must have an ebuid or not?
In this case, OOo 1.9, if I wish to compile from source should I follow the same procedure as if I would use binary files? If not, do you have an idea of what steps to follow?

If I would instead choose binary files, then would it just be sufficient to follow teilo steps? Obviously, I have to first install "emerge rpm" and I do not have it installed.

Thank you,
Spiro
Top
Sipi
Guru
Guru
User avatar
Posts: 406
Joined: Thu Apr 03, 2003 9:40 am
Location: Hungary

  • Quote

Post by Sipi » Wed Feb 16, 2005 1:42 pm

I do not recommend to install this build from source.
It is very beta. I don't know how can you make it to compile. I think old ebuilds should not work, since this new versions differs from the old too much.
Compiling by hand is too hard. Believe me, I tried it on other distros...:)

So, it will be too hard by hand, and if you could not find any ebuild for this, you can not use the old ones.

Compiling is completely different than installing the binary. Binary just needed to unzipped and copied to a location, it is ready to use. Compiling needs much more steps, and even the pre-installing steps are hard to achieve!

And yes, installing binary is OK as it was written here. But beware, since you will not install it officially by Portage, you can not uninstall it. You should know where it installed itself (hopefully, it will be in /opt/OpenOffice-1xxx), so you can safely delete this dir if you do not need it anymore.

Once again: compiling OpenOffice from source by hand is f*cking hard :), you have to get another programs, copy them to OO's source dir, than edit some files by hand, configure. If OK, you will get a big file with tons of variables. "sh LinuxIntelEnv.sh", than yo can call the builder building procedure, if ready, start the make procedure. And it will fail, this is sure, so after some hours of compiling you have to find the problem and start it again. :)

Sipi
Top
SAngeli
l33t
l33t
User avatar
Posts: 904
Joined: Fri Apr 16, 2004 5:57 pm
Location: Italy

  • Quote

Post by SAngeli » Wed Feb 16, 2005 6:42 pm

Hi Sipi and robet,

thank you again for your explanations.
Sipi, you convinced me: I will install the binary files.

Edited thred

Here is my procedure for installing OOo.......
(A)
Download from this http://download.openoffice.org/680/index.html#download website this file
OOo_1.9.m77_native_LinuxIntel_install.tar.gz 92.89 MB [04-Feb-05] [Gzip tar file]
(note that the version number will change when new version is ready)

(B)
Login as root " su -"
Open konsole, go to the downloaded path and run" tar -zxvf OOo_1.9.m77_native_LinuxIntel_install.tar.gz -C /temp/OOo "

(C)
Remove the openofficeorg-redhat-menus***.rpm and openofficeorg-suse-menus***.rpm
just "rpm --nodeps -i *.rpm "

(D)
Then move the entire directory of what I did untar to /opt/openoffice.org1.9.77/program
Here you find all the extracted files.
To check what was installed you can run " rpm -q -a "

(E)
Exit from root and run from konsole ./swriter
It will guide through a setup procedure.
Then you have to create Menu links
Then you are done.

Thank you,
Spiro
Last edited by SAngeli on Thu Feb 17, 2005 5:47 pm, edited 1 time in total.
Top
jamesshuang
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 120
Joined: Thu Aug 08, 2002 3:53 pm

  • Quote

Post by jamesshuang » Wed Feb 16, 2005 7:49 pm

Mmm... everyone makes it so long... Here's three commands (assuming a brand new system, with xorg installed) that will make it work:

[code]
emerge rpm
tar xvzf OOo_downloaded_file.tar.gz2
rpm -i --nodeps RPMS/*
[/code]

Installs it consistently each time. Make sure you do this as root though, because writing to the /opt dir by users is generally discouraged...
Top
robet
l33t
l33t
User avatar
Posts: 807
Joined: Mon Sep 06, 2004 3:47 pm
Location: Earth/NorthAmerica/USA/NY

  • Quote

Post by robet » Wed Feb 16, 2005 8:40 pm

That way works also, the catch being the need for RPM. ("emerge rpm")
The only thing necessary for the other method is rpm2targz. ("emerge rpm2targz")
Though installing the RPMs is a cleaner way... I don't care at this point because I'm only briefly checking out OOo 2, and not planning to use it.
no software patents in europe! | adopt an unanswered post.
Top
SAngeli
l33t
l33t
User avatar
Posts: 904
Joined: Fri Apr 16, 2004 5:57 pm
Location: Italy

  • Quote

Post by SAngeli » Wed Feb 16, 2005 10:19 pm

Hi jamesshuang,

Thanks for your three step commands.
... one day, hopefully sooner that I expect, I will have more skills thank now ...

But for now, I thank you for your help.

Spiro
Top
toonetown
n00b
n00b
Posts: 12
Joined: Sat Jan 15, 2005 2:50 am

  • Quote

Post by toonetown » Tue Mar 01, 2005 11:16 pm

I have created an ebuild that will install the openoffice.org beta...so it's just a one-step process:

Download the ebuild from here:
http://www.toonetown.com/ebuild/openoff ... -r1.ebuild

And place it in your $OVERLAY/app-office/openoffice2 where $OVERLAY is your portage overlay directory.

Then just run "emerge openoffice2"

At the end, you can run "ooffice2" to start openoffice.org beta2.

It doesn't conflict with any openoffice you may already have installed on your machine - so it's perfect for trying out.

This is in no way meant to be or to replace the official gentoo release of openoffice.org version 2 - it's just what I hacked together so that I could test it out myself.

This is shared on a "works for me" basis. I'm not interested in supporting it - but I thought I'd share it for those who are interested.
Top
toonetown
n00b
n00b
Posts: 12
Joined: Sat Jan 15, 2005 2:50 am

  • Quote

Post by toonetown » Tue Mar 01, 2005 11:21 pm

I forgot - you'll need to generate the digest for that ebuild (in case you didn't know how to do it)...

Run:
ebuild $OVERLAY/app-office/openoffice2/openoffice2-1.9.79-r1.ebuild digest

Again - replace $OVERLAY with your portage overlay directory (usually /usr/local/portage)
Top
Diavolo
Apprentice
Apprentice
Posts: 151
Joined: Sun Jan 09, 2005 1:51 pm

  • Quote

Post by Diavolo » Wed Mar 02, 2005 1:24 pm

Will der be an official ebuild for the beta2?
Top
cato`
Guru
Guru
User avatar
Posts: 430
Joined: Mon Jun 03, 2002 2:12 pm
Location: Norway, Trondheim
Contact:
Contact cato`
Website

  • Quote

Post by cato` » Wed Mar 02, 2005 3:07 pm

toonetown:
your ebuild is a bit wrong it should be "openoffice-bin" and not "openoffice" ...
OOo is LGPL and SISSL licensed, not GPL ...
and you should use MY_P (program name) and MY_PV (program version), that makes versionbumps easier.

if you fix this the ebuild would be great!
Don't mess with the Penguin.
Top
hoover
n00b
n00b
Posts: 20
Joined: Mon Sep 22, 2003 7:29 pm

  • Quote

Post by hoover » Wed Mar 02, 2005 7:17 pm

teilo wrote:I do this all the time on my x86 and my x86_64 machine.
owing command: rpm -i -v --nodeps *.rpm
6) Wait till it finishes

I don't like the rpm2targz method. Takes too long, and is cumbersome for so many packages.
I tried this method, and emerging rpm worked fine. However when I try to install the rpms I get the following
error:

Code: Select all

hoover RPMS # rpm -i -v --nodeps *.rpm 
One mode required, and only one mode allowed
[/code]


A forum search didn't result in any useful matches, so I was wondering if somebody could help me along a bit further.

cheers uwe
Top
corefile
n00b
n00b
Posts: 44
Joined: Thu Jun 27, 2002 7:02 am

wrong

  • Quote

Post by corefile » Sat Mar 05, 2005 3:38 am

should be "rpm -ivh *.rpm --nodeps"

that will work
Top
Earthwings
Bodhisattva
Bodhisattva
User avatar
Posts: 7753
Joined: Mon Apr 14, 2003 8:13 pm
Location: Germany

  • Quote

Post by Earthwings » Sat Mar 05, 2005 9:42 pm

Here's another ebuild. It supports mirrors and localisation in german, spanish, french, italian, japan, korean, portuguese and swedish (make sure LINGUAS is set accordingly). It's slotted so that you can install it alongside the 1.1.x version, binaries are postfixed -2 (i.e. run it with ooffice-2, oopadmin-2) to avoid collisions. Have fun :)

Edit: Other ebuilds (without localisation) can be found in http://bugs.gentoo.org/show_bug.cgi?id=77614

Installation
Save the ebuild (below) as $PORTDIR_OVERLAY/app-office/openoffice-bin/openoffice-bin-2.0_beta.ebuild
See http://gentoo-wiki.com/HOWTO_Installing ... ty_Ebuilds for details.

Code: Select all

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit rpm eutils

MY_PV="${PV/_beta/bc}"

strip-linguas de es fr it ja ko pt sv
if [ -n "${LINGUAS}" ]
then
	MY_LINGUAS="_${LINGUAS:0:2}"
fi

DESCRIPTION="OpenOffice productivity suite"
HOMEPAGE="http://www.openoffice.org"
SRC_URI="mirror://openoffice/contrib/rc/${MY_PV}/OOo_${MY_PV}_LinuxIntel_install${MY_LINGUAS}.tar.gz"
LICENSE="|| ( LGPL-2 SISSL-1.1 )"
SLOT="2"
KEYWORDS="~x86"
IUSE="java kde gnome"

DEPEND="virtual/x11
		sys-libs/lib-compat
		>=media-libs/freetype-2
		java? ( >=virtual/jre-1.4.1 )"

PROVIDE="virtual/ooo"
RESTRICT="nostrip"

src_unpack() {
 	unpack ${A}

 	rm RPMS/*suse*
	useq gnome || rm RPMS/*gnome*
 }

src_install() {
	cd ${WORKDIR}

	for rpm in RPMS/*.rpm
	do
		einfo "Installing ${rpm}"
		rpm_unpack ${rpm} || die "rpm_unpack failed"
		rm ${rpm}
	done

	rm -r usr/bin
	rm -r usr/share/applnk-redhat
	rm -r usr/share/applications

	useq gnome || rm -r usr/share/icons/gnome
	if ! useq kde
	then
		for icondir in hicolor HighContrast locolor
		do
			rm -r usr/share/icons/${icondir}
		done
	fi

	mv ${WORKDIR}/opt ${WORKDIR}/usr ${D}
	dodir /usr/bin
	dosym /opt/openoffice.org1.9.79/program/soffice.bin /usr/bin/ooffice-2
	dosym /opt/openoffice.org1.9.79/program/spadmin.bin /usr/bin/oopadmin-2
}

pkg_postinst() {
	echo
	einfo "To start OpenOffice.org, run:"
	einfo "  $ ooffice-2"
	echo
	einfo "For managing printers, use:"
	einfo "  $ oopadmin-2"
	echo
}
Last edited by Earthwings on Sat Mar 05, 2005 11:24 pm, edited 2 times in total.
Top
firephoto
Veteran
Veteran
User avatar
Posts: 1612
Joined: Wed Oct 29, 2003 12:48 am
Location: +48° 5' 23.40", -119° 48' 30.00"

  • Quote

Post by firephoto » Sat Mar 05, 2005 10:14 pm

Earthwings wrote:Here's another ebuild. It supports mirrors and localisation in german, spanish, french, italian, japan, korean, portuguese and swedish (make sure LINGUAS is set accordingly). It's slotted so that you can install it alongside the 1.1.x version, binaries are postfixed -2 (i.e. run it with ooffice-2, oopadmin-2) to avoid collisions. Have fun :)
It tries to fetch OOo_2.0bc_LinuxIntel_install_.tar.gz if you don't have linguas set (default english). Nice ebuild though, the slotting is handy.
Top
Earthwings
Bodhisattva
Bodhisattva
User avatar
Posts: 7753
Joined: Mon Apr 14, 2003 8:13 pm
Location: Germany

  • Quote

Post by Earthwings » Sat Mar 05, 2005 10:19 pm

firephoto wrote:
Earthwings wrote:Here's another ebuild. It supports mirrors and localisation in german, spanish, french, italian, japan, korean, portuguese and swedish (make sure LINGUAS is set accordingly). It's slotted so that you can install it alongside the 1.1.x version, binaries are postfixed -2 (i.e. run it with ooffice-2, oopadmin-2) to avoid collisions. Have fun :)
It tries to fetch OOo_2.0bc_LinuxIntel_install_.tar.gz if you don't have linguas set (default english). Nice ebuild though, the slotting is handy.
Ups. Should be fixed now.
Top
Post Reply

29 posts
  • 1
  • 2
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic