1 |
On Saturday 21 Apr 2012 08:45:49 Florian Philipp wrote: |
2 |
> Am 21.04.2012 05:27, schrieb 赵佳晖: |
3 |
> > I just install the xfce a few days ago, But i find i didn't like it . So |
4 |
> > i want to remove it and install the Gnome . How can i remove the xfce |
5 |
> > clearly ? |
6 |
> |
7 |
> Gnome and Xfce share many libraries. Therefore it is best to install |
8 |
> Gnome first, before removing Xfce. Otherwise you will remove libraries |
9 |
> which you will later re-emerge for Gnome. |
10 |
> |
11 |
> Then you need to configure your display manager (kdm, gdm, xdm) to use |
12 |
> Gnome instead of Xfce. Kdm and Gdm should allow you to do that directly |
13 |
> on the login screen. |
14 |
> |
15 |
> When you are satisfied with Gnome, edit /var/lib/portage/world and |
16 |
> remove every line containing an Xfce package. Then run `emerge -av |
17 |
> --depclean` and you are done. |
18 |
> |
19 |
> You could continue to remove config files but that is usually not worth |
20 |
> the trouble. |
21 |
|
22 |
Also, follow the advice on the screen when you run 'emerge --depclean -p' |
23 |
which is to run revdep-rebuild afterward to rebuild any dependencies. Such |
24 |
dependencies may have been broken from uninstalling packages with depclean, |
25 |
(man revdep-rebuild gives you more information). |
26 |
|
27 |
-- |
28 |
Regards, |
29 |
Mick |