On Saturday 21 Apr 2012 08:45:49 Florian Philipp wrote:
> Am 21.04.2012 05:27, schrieb 赵佳晖:
> > I just install the xfce a few days ago, But i find i didn't like it . So
> > i want to remove it and install the Gnome . How can i remove the xfce
> > clearly ?
> 
> Gnome and Xfce share many libraries. Therefore it is best to install
> Gnome first, before removing Xfce. Otherwise you will remove libraries
> which you will later re-emerge for Gnome.
> 
> Then you need to configure your display manager (kdm, gdm, xdm) to use
> Gnome instead of Xfce. Kdm and Gdm should allow you to do that directly
> on the login screen.
> 
> When you are satisfied with Gnome, edit /var/lib/portage/world and
> remove every line containing an Xfce package. Then run `emerge -av
> --depclean` and you are done.
> 
> You could continue to remove config files but that is usually not worth
> the trouble.

Also, follow the advice on the screen when you run 'emerge --depclean -p' 
which is to run revdep-rebuild afterward to rebuild any dependencies.  Such 
dependencies may have been broken from uninstalling packages with depclean,  
(man revdep-rebuild gives you more information).

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to