Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Remerge your entire install with one command
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
xunil
n00b
n00b


Joined: 18 Jun 2003
Posts: 36
Location: Blacksburg, VA, USA

PostPosted: Fri Jul 18, 2003 2:38 pm    Post subject: Remerge your entire install with one command Reply with quote

So you've changed your CFLAGS or USE flags in some significant fashion and want to remerge your entire Gentoo install. Well, you're in luck. emerge supports the -e (or --emptytree) command-line flag which virtually tweaks the package tree for the current operation so that glibc is the only merged package. So, to remerge your entire install, simply run:

Code:
emerge -e world


If you've changed USE flags that affect glibc (nptl, pic, etc.), then run this instead:

Code:
emerge glibc && emerge -e world


Changing CFLAGS normally does not require a glibc rebuild since glibc's ebuild filters out most CFLAGS settings since they can reduce glibc's stability.
Back to top
View user's profile Send private message
Petyr
Guru
Guru


Joined: 08 Jan 2003
Posts: 471
Location: San Diego, CA, USA

PostPosted: Sun Jul 20, 2003 1:27 am    Post subject: Reply with quote

Added fun
If you don't want to lose all that output, and you still want to sleep (who really wants to watch glibc, xfree, mozilla AND OpenOffice rebuild?) then pipe stuff to tee

emerge -e world 2>&1 | tee ~/emerge_output.log

tee takes in everything it gets, writes it to the file, and spits it out to the terminal.
This way you don't miss all those einfo messages and whatnot.

Petyr
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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