Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
newbie portage question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pollycat
n00b
n00b


Joined: 19 May 2003
Posts: 2

PostPosted: Mon May 19, 2003 3:11 pm    Post subject: newbie portage question Reply with quote

Hi there,

I am fairly new to Linux, completely new to Gentoo (just installed it for the first time). So please forgive the newbie nature of this question.

I just did "emerge mozilla" and it only installed version 1.2.1 on my machine. The install went without a hitch but I had expected to get version 1.3.1 as this is the latest stable version and I had always thought that Gentoo used the "latest and greatest" in portage.

So, can anyone tell me why I didn't get 1.3.1 and how I can use portage / "emerge" to get it? I also have an eye on KDE 3.1.2 which I see has just been released, but the portage database only lists KDE 3.1.1a as available.

I have read the Portage documentation and got confused around the "masked e.build" part - sorry!

Thanks to anyone who can point me in the right direction
Back to top
View user's profile Send private message
kopfarzt
Apprentice
Apprentice


Joined: 05 Apr 2003
Posts: 170
Location: Vienna, Austria

PostPosted: Mon May 19, 2003 3:29 pm    Post subject: Reply with quote

Mozilla 1.3.1 is in the "unstable" (~x86) branch of Gentoo. You can see that in the KEYWORDS line of an ebuild. If you want to use the ~x86 branch, you have to set
Code:
ACCEPT_KEYWORDS="~x86"
in /etc/make.conf, but it will be valid for ALL packages then.

Consider, that not all ebuilds might work/compile in certain combinations. And prepare for a long emerge -u world. Also, I don't think you can switch back to stable later.

kopfarzt
Back to top
View user's profile Send private message
Skip.za
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2003
Posts: 110
Location: Cape Town, South Africa

PostPosted: Mon May 19, 2003 3:34 pm    Post subject: Reply with quote

The 1.3.* series of Mozilla is still masked. To install masked packages all you need to do is give the path to the ebuild script like (assuming you're in /usr/portage already):

Code:
emerge -u net-www/mozilla/mozilla-1.3-r1.ebuild


Last edited by Skip.za on Mon May 19, 2003 3:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
nrl
Guru
Guru


Joined: 27 Mar 2003
Posts: 446
Location: Glasgow, UK

PostPosted: Mon May 19, 2003 3:37 pm    Post subject: Reply with quote

I wouldn't put ACCEPT_KEYWORDS="~x86" in your /etc/make.conf unless you really want bleeding edge, if you just want the latest mozilla do
Code:

# ACCEPT_KEYWORDS="~x86" emerge -p mozilla

also be sure to always run with the -p (pretend) option first just to see what will happen then when you are happy run without it.
Back to top
View user's profile Send private message
pollycat
n00b
n00b


Joined: 19 May 2003
Posts: 2

PostPosted: Mon May 19, 2003 3:51 pm    Post subject: Wow! Reply with quote

I only posted my question about half an hour ago and already got so many helpful responses - what an amazing community this is!

As I am new to Gentoo, I think I'll stick with the "stable" emerge versions until I know more, then I'll follow the advice here for trying some unstable versions. Thanks to your excellent instructions, I now know how to do this.

emerge thanks-1.0 (=stable)
Back to top
View user's profile Send private message
dma
Guru
Guru


Joined: 31 Jan 2003
Posts: 437
Location: Charlotte, NC, USA

PostPosted: Mon May 19, 2003 4:19 pm    Post subject: Reply with quote

I put this in .profile:
Code:
function a_emerge ()
{
    ACCEPT_KEYWORDS="~x86" emerge $*
}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum