View previous topic :: View next topic |
Author |
Message |
BloodyAlice n00b
Joined: 13 Apr 2008 Posts: 38
|
Posted: Tue Apr 29, 2008 1:31 am Post subject: how to delete xfce |
|
|
I have recently installed xfce for testing some stuff and I want to get rid of everything that came with it.... what quick, clean, and safe way would you suggest? |
|
Back to top |
|
|
tatotato Tux's lil' helper
Joined: 27 Apr 2008 Posts: 119 Location: All Along the Watchtower
|
Posted: Tue Apr 29, 2008 1:35 am Post subject: |
|
|
Code: |
emerge unemerge xfce4
|
should be the command to do the trick. _________________ |spectre-net - my site about nothing | OOSBÈ! DOOVDÈ! | Take me to your dealer | |
|
Back to top |
|
|
BloodyAlice n00b
Joined: 13 Apr 2008 Posts: 38
|
Posted: Tue Apr 29, 2008 1:40 am Post subject: |
|
|
tatotato wrote: | Code: |
emerge unemerge xfce4
|
should be the command to do the trick. |
that only unmerges the meta package... not to mention you're missing an -- in front of unmerge, and even so -C is what everybody uses |
|
Back to top |
|
|
cyberjun Apprentice
Joined: 06 Nov 2005 Posts: 293
|
Posted: Tue Apr 29, 2008 1:49 am Post subject: |
|
|
After Quote: | emerge --unmerge xfce |
run
Quote: | emerge -av --depclean |
Another way would be to look at the /var/log/emerge.log file and manually unmerge all the packages that got installed while merging xfce.
--cyberjun |
|
Back to top |
|
|
tatotato Tux's lil' helper
Joined: 27 Apr 2008 Posts: 119 Location: All Along the Watchtower
|
Posted: Tue Apr 29, 2008 1:51 am Post subject: |
|
|
BloodyAlice wrote: | tatotato wrote: | Code: |
emerge unemerge xfce4
|
should be the command to do the trick. |
that only unmerges the meta package... not to mention you're missing an -- in front of unmerge, and even so -C is what everybody uses |
Oh. Thanks for the correction still getting to grips with emerge. _________________ |spectre-net - my site about nothing | OOSBÈ! DOOVDÈ! | Take me to your dealer | |
|
Back to top |
|
|
BloodyAlice n00b
Joined: 13 Apr 2008 Posts: 38
|
Posted: Tue Apr 29, 2008 1:56 am Post subject: |
|
|
@cyberjun, yep, I already did the depclean stuff... wondered just if it may have missed smth... I can remember i tried to wipe gnome with it but some bits still stuck to my machine afterwards |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue Apr 29, 2008 2:06 am Post subject: |
|
|
BloodyAlice wrote: | @cyberjun, yep, I already did the depclean stuff... wondered just if it may have missed smth... I can remember i tried to wipe gnome with it but some bits still stuck to my machine afterwards |
In a sane system, all the packages not listed in world, or that are not dependencies of packages listed in world at some point, are orphaned packages, and will be removed when using "emerge --depclean".
So, if you used "emerge xfce4" or a similar thing to emerge it, then, unmerging that metapackage and using --depclean afterwards should be more than enough. If something remains, it is because:
1.- It is still a dependency of something that is installed, OR
2.- You re-emerged that concrete package by hand, without using the -1 or --oneshot
That is why, if you want to use the --depclean feature, then you MUST know how the --oneshot feature works. If you don't know when and how to use --oneshot, then, --depclean can be completely useless. |
|
Back to top |
|
|
|