Forums

Skip to content

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

how to update programs

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
12 posts • Page 1 of 1
Author
Message
c0vert
Guru
Guru
User avatar
Posts: 355
Joined: Fri Aug 27, 2004 9:53 pm

how to update programs

  • Quote

Post by c0vert » Thu Jan 18, 2007 3:41 am

Hey, im wondering how you update programs. My mozilla said it was an old version. So i just typed emerge mozilla again and it gave me the same version. I also know i have an older version of gaim and wnat to update that to.
THanks
AMD 64 3000+
1 Gig Corsair DRR400 RAM
ATI RAdeon 9800 Pro
KN8E-deluxe
SATA 120 Gig Seagate
Top
jsfan
Apprentice
Apprentice
Posts: 204
Joined: Tue Dec 28, 2004 6:53 pm
Location: Melbourne, Australia

emerge --sync first

  • Quote

Post by jsfan » Thu Jan 18, 2007 4:00 am

You have to do an

Code: Select all

emerge --sync
first to get the latest portage tree. Then

Code: Select all

emerge -u <packagename>
will update to the latest version (in your branch of Gentoo)
Top
c0vert
Guru
Guru
User avatar
Posts: 355
Joined: Fri Aug 27, 2004 9:53 pm

  • Quote

Post by c0vert » Thu Jan 18, 2007 4:18 am

thanks!, what do you mean in your branch of gentoo?... and another quick question..> how can i add a user to the portage group? once i've already made the user that is
AMD 64 3000+
1 Gig Corsair DRR400 RAM
ATI RAdeon 9800 Pro
KN8E-deluxe
SATA 120 Gig Seagate
Top
kmj0377
Guru
Guru
User avatar
Posts: 397
Joined: Fri Sep 26, 2003 6:53 am

  • Quote

Post by kmj0377 » Thu Jan 18, 2007 4:22 am

c0vert wrote:thanks!, what do you mean in your branch of gentoo?... and another quick question..> how can i add a user to the portage group? once i've already made the user that is
There's two branches in portage, stable and testing (and other more bleeding edge ones if you go for third party ebuilds). These are specified through ACCEPT_KEYWORDS. ACCEPT_KEYWORDS="~x86" for testing and ACCEPT_KEYWORDS="x86" for stable.

To add a user to a group:
gpasswd -a c0vert portage
Top
c0vert
Guru
Guru
User avatar
Posts: 355
Joined: Fri Aug 27, 2004 9:53 pm

  • Quote

Post by c0vert » Thu Jan 18, 2007 5:24 am

thanks!
AMD 64 3000+
1 Gig Corsair DRR400 RAM
ATI RAdeon 9800 Pro
KN8E-deluxe
SATA 120 Gig Seagate
Top
jsfan
Apprentice
Apprentice
Posts: 204
Joined: Tue Dec 28, 2004 6:53 pm
Location: Melbourne, Australia

  • Quote

Post by jsfan » Thu Jan 18, 2007 6:43 am

As long as you don't know too much about portage and ebuilds, it is better to stick with x86 because the likelihood is less that you will ever come across packages that won't compile. However, with a little bit of experience, I've never had many problems on my laptop using ~x86 (although faulty packages have screwed my system before! 8) )
Top
dyatel15
n00b
n00b
User avatar
Posts: 20
Joined: Tue Mar 14, 2006 10:03 pm

  • Quote

Post by dyatel15 » Thu Jan 18, 2007 8:41 am

Users should never use ACCEPT_KEYWORDS="~x86".

Go ahead and RTFM!
http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly
Top
jsfan
Apprentice
Apprentice
Posts: 204
Joined: Tue Dec 28, 2004 6:53 pm
Location: Melbourne, Australia

  • Quote

Post by jsfan » Thu Jan 18, 2007 9:10 am

Users should never use ACCEPT_KEYWORDS="~x86".

Go ahead and RTFM!
http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly
This holds only true on a package to package basis. I use ~x86 for my whole system (i.e. this is what my /etc/make.conf sets). But I also use ~x86 on a package to package basis on some of my x86 systems. However, you should know exactly what you are doing then!!!
Top
pussi
l33t
l33t
Posts: 727
Joined: Sat May 08, 2004 9:28 am
Location: Finland

  • Quote

Post by pussi » Thu Jan 18, 2007 2:02 pm

dyatel15 wrote:Users should never use ACCEPT_KEYWORDS="~x86".

Go ahead and RTFM!
http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly
That only means if you want ~x86 version of a specific package you should use /etc/portage/package.keywords instead of emerging it with:

Code: Select all

ACCEPT_KEYWORDS="~x86" emerge whaterver
That will mess up your system.
It's not incorrect to set ACCEPT_KEYWORDS="~x86" in /etc/make.conf (but you should really know what you're doing).

Besides, gentoo-wiki isn't actually a manual
Top
dyatel15
n00b
n00b
User avatar
Posts: 20
Joined: Tue Mar 14, 2006 10:03 pm

  • Quote

Post by dyatel15 » Thu Jan 18, 2007 10:37 pm

pussi wrote:
Besides, gentoo-wiki isn't actually a manual
I presume he read an official manual already.
The correct link will be:
http://www.gentoo.org/doc/en/handbook/h ... t=3&chap=3
However it doesn't explain _why_ it's bad to use "accept_keywords emerge" for regular basis.
It doesn't explain that you can go to http://packages.gentoo.org and find all available versions, subscribe to RSS feed and follow updates.
It doesn't explain that you can install the latest version of eix package and have all overlays under your hand.
Oh boy, so many many things to learn :)
Top
Mythril
n00b
n00b
User avatar
Posts: 52
Joined: Sat Oct 07, 2006 9:47 am

  • Quote

Post by Mythril » Fri Jan 19, 2007 12:15 am

Anyway, using the ACCEPT_KEYWORDS flag on a package and then updating your system will most likely downgrade your package because this is not persistent...
/etc/portage/package.keywords should really be used for the long term.

Regarding the first question, you can also have gentoo automatically update your system with:

Code: Select all

emerge -NDuav world
Use this command whenever you change one of the /etc/portage/ files or when you update Portage (with the emerge --sync command).
Top
c0vert
Guru
Guru
User avatar
Posts: 355
Joined: Fri Aug 27, 2004 9:53 pm

  • Quote

Post by c0vert » Fri Jan 19, 2007 1:11 am

yaa thats the one i was looking for, i remember it from last time now:)
AMD 64 3000+
1 Gig Corsair DRR400 RAM
ATI RAdeon 9800 Pro
KN8E-deluxe
SATA 120 Gig Seagate
Top
Post Reply

12 posts • Page 1 of 1

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