Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
update/upgrade commands?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Dale__
n00b
n00b


Joined: 18 Apr 2015
Posts: 55

PostPosted: Sat May 02, 2015 11:58 pm    Post subject: update/upgrade commands? Reply with quote

I am new to gentoo, just got through an install from the handbook/wiki using 4/23/15 minimal cd

on Ubuntu I could
sudo apt-get upgrade
sudo apt-get update
sudo apt-get dist-upgrade

is there similiar commands for Gentoo?
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 634

PostPosted: Sun May 03, 2015 1:44 am    Post subject: Reply with quote

It goes pretty much like this:

Code:
# emerge --sync
# emerge --update --deep --with-bdeps y @world
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2600

PostPosted: Sun May 03, 2015 2:05 am    Post subject: Reply with quote

You should read the docs. You can't simply close your eyes and hope everything will work on Gentoo.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Dale__
n00b
n00b


Joined: 18 Apr 2015
Posts: 55

PostPosted: Sun May 03, 2015 2:36 am    Post subject: Reply with quote

since I installed seperate

gentoo 4/23
xorg, not the whole thing
kde, base
the applications I use

will the updates be seperate commands?

I would feel more comfortable doing each one seperate since it would be more obvious to me what I was doing and more related to my install/system
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 634

PostPosted: Sun May 03, 2015 3:05 am    Post subject: Reply with quote

Dale__,

You'll probably get used to simply updating the whole system at once, and that is the "world" set, which is the @world parameter.

You can update individual packages in much the same way, but after a sync, there could be additional packages that have updates as well, so run an emerge command that covers them all.

Anyway, you could:
Code:
# emerge --update kde-base/kdebase-meta


and so-on, for other packages.

I typically just use:
Code:
 # emerge --update --deep --newuse --with-bdeps y @world --ask

And after inspecting the list of packages, answer "yes"

Also, I've found there's not much point in doing this daily. Every couple weeks or so seems to work just fine.

After a successful world update, you should also,
Code:
# emerge --depclean  --ask  #(typically safe to answer yes if the world update was successful)
# revdep-rebuild


Also don't forget to heed The Doctor's advice.
Back to top
View user's profile Send private message
Dale__
n00b
n00b


Joined: 18 Apr 2015
Posts: 55

PostPosted: Sun May 03, 2015 4:15 am    Post subject: Reply with quote

thanks russK. I'll take your advice since I see its systematic

I forgot to say I was using AMD64, The Doctor's link was to Handbook:x86/Working/Portage

I should be able to find the AMD64 page since I got used to using the handbook in my install

Thanks Doctor too

maybe the best time for me to do an update is when there is a new stage3 tarball

thanks again
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2600

PostPosted: Sun May 03, 2015 4:21 am    Post subject: Reply with quote

The arch is irrelevant here. Fortunately, portage acts the same on all systems (in theory) so we don't have to relearn it for each new computer.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10355
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun May 03, 2015 11:24 am    Post subject: Reply with quote

Dale__ wrote:
maybe the best time for me to do an update is when there is a new stage3 tarball
That turns out not to be the case. Updates to the Stage tarballs are not coordinated with Portage tree updates, the latter being much more frequent than the former. Regardless of that cadence, you should update merely fairly regularly: at least monthly, although weekly will cause you a little less grief. You should also update, of course, when you specifically need something new.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Dale__
n00b
n00b


Joined: 18 Apr 2015
Posts: 55

PostPosted: Sun May 03, 2015 7:09 pm    Post subject: Reply with quote

working with portage was not in handbook AMD64 section
in the links browser it was greyed out
in the rekonq browser there was something like no text in page
and think I am familiar with it

found what I needed in the AMD64 wiki, working with portage

Code:

emerge --ask app-portage/gentoolkit

to get revdep


Code:

emerge --sync
emerge --ask --update --newuse --with-bdeps=y --deep @world
emerge --ask --depclean
revdep-rebuild


didn't break my system this time
Back to top
View user's profile Send private message
Dale__
n00b
n00b


Joined: 18 Apr 2015
Posts: 55

PostPosted: Mon May 04, 2015 1:45 am    Post subject: Reply with quote

now that I can update, is there such a thing as upgrade?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10355
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon May 04, 2015 1:24 pm    Post subject: Reply with quote

Nope. Gentoo doesn't have releases, per se. Updates are all you need to worry about. At the end of a comprehensive update, you've got the latest Gentoo.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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