PDA

View Full Version : Latest Version Apps Using Emerge - Gentoo



Sam I Am
06-11-2005, 04:43 PM
Hey Hey,

I want to install Openoffice 2 on my laptop which is running Gentoo. Emerge --search office finds :

app-office/openoffice
Latest version available: 1.1.4-r1
Latest version installed: [ Not Installed ]
Size of downloaded files: 222,339 kB
Homepage: http://www.openoffice.org/
Description: OpenOffice.org, a full office productivity suite.
License: || ( LGPL-2 SISSL-1.1 )

Going to the open office site lets me download the installer but would much rather compile it myself.

How do I tell portage to use a newer version?

Jen
06-11-2005, 06:16 PM
The latest version (http://packages.gentoo.org/search/?sstring=openoffice) is still marked as testing and not stable. You can bypass that and get the testing version by using:

ACCEPT_KEYWORDS="~x86" emerge openoffice-2.0.0

Although I would add a --pretend to that initially to see what else will be included.

I *think* tacking on the -2.0.0 will get you that version and not the 1.1.5 version which is also marked as testing, but might be wrong. Can't remember if emerge just goes for the latest testing package or not. Perhaps try a --pretend with and without the version number.

More information on using ~x86 here (http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3)

Sam I Am
06-11-2005, 06:21 PM
Cool. Thanks for that Jen. I will give it a whirl after my update is finished.

Chilling_Silence
06-11-2005, 07:50 PM
I prefer -pv, tells you the dependancies _and_ why they're being emerged (USE flags)

Sam I Am
07-11-2005, 06:18 PM
Compiling now. Its without the version number. Using ~x86 means it only lists the testing version :nerd:

Thanks Jen

Chill: yup using -pv makes sence. Gives you the chance to modify the flags. Is that why you use it?