Results 1 to 5 of 5
In other words, for instance, if I want to get rid of gnome and all the packages that came with it how do I go about doing this? I already ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-27-2005 #1Just Joined!
- Join Date
- Sep 2005
- Location
- Nowhere and Everywhere
- Posts
- 98
How to properly get rid of packages???
In other words, for instance, if I want to get rid of gnome and all the packages that came with it how do I go about doing this? I already tried this:
But it still doesn't get rid of the 100+ Mb of extra crap that I don't need, so does anybody know the right way to do this???Code:# emerge --unmerge gnome
- 11-27-2005 #2
maybe
orCode:emerge --clean
i've not had access to my computer for a while but i think one of those should work. also:Code:emerge --depclean
should give more details about the options.[/code]Code:emerge --help
Here's why Linux is easier than Windows:
Package Managers! Apt-Get and Portage (among others) allow users to install programs MUCH easier than Windows can.
Hardware Drivers. In SuSE, ALL the hardware is detected and installed automatically! How is this harder than Windows' constant disc changing and rebooting?
- 11-27-2005 #3
The "gnome" package doesn't actually install anything, but rather has as its dependencies all the actual gnome packages.
So what happens is that "gnome" is added to the world file, and the other packages are just installed.
"emerge depclean" looks at every package not in the world file and sees if anything still requires it. If not, it will remove that package.
So to get rid of gnome, you should do:
After doing an 'emerge depclean', you should always run "revdep-rebuild", which will reinstall any libraries that are needed but were accidentally removed (due to odd dependency stuff).Code:emerge --unmerge gnome emerge depclean -p <-- Check what you're removing emerge depclean
- 12-01-2005 #4Just Joined!
- Join Date
- Sep 2005
- Location
- Nowhere and Everywhere
- Posts
- 98
Works like a charm, thanx
.
- 12-10-2005 #5Just Joined!
- Join Date
- Dec 2005
- Posts
- 54
Alternatively to just remove gnome, and not remove its dependencies, you could just do this:
equery list *gnome | grep gnome | xargs emerge --unmerge --pretend (remove pretend after verifying whats being removed)
You could then delete the gnome directorys if you wanted as there not needed, all they hold is configuration settings which emerge doesnt touch.
This is useful when upgrading or planning on reinstalling gnome at a later time.
emerge depclean removes alot of dependencies that will have to be just reinstalled to satisfy other packages.


Reply With Quote
