Cleaning up Redhat/Fedora

Oct 05, 2010 21:42

So I discovered that 'yum erase avahi' removes a stupendous list of complete garbage from a fresh install easily. There are a few packages that somehow are dependencies that are collateral damage that you'll probably want to reinstall immediately afterwards.

yum install redhat-lsb samba vlc-core vlc-devel ntop barry ImageMagick ImageMagick-devel
(if you want to make your life easier, the only one you really need is redhat-lsb.)

Of course yum drags along a ton of moronic dependencies (44 of them!) so at this point, if you care, its time to break out the sledgehammer. I took the output of listed dependencies and shoved it through sed, etc to come up with a list to pass to rpm erase --nodeps.

Removing the garbage netted me a gig, 1/8th of the install footprint.
Previous post Next post
Up