Help Linux Gurus: Removing Unused Libs?

Any linux gurus out here?? Linux **** stumped: How do I get rid of all the gunk that accumulates in my system???

For example:

Openoffice with all dependencies takes up to 250+MB to install. When I uninstall Openoffice, only openoffice gets uninstalled and all the 210MB worth of dependencies required by it are left idling in my system.

Is there a way I can uninstall all these unused deps/libs, taking into account RPM compatibility???

#87859

You use a package manager for this.

I dont think RPM has the ability to automatically remove all unused dependancies. I know DPKG can though.

Basically, you'll have to do it by hand. Look at the dependancies for OpenOffice, and try to remove them. It should pop up an error if that library is required by another program.

I wouldn't do this though. You're liable to need those libraries later on. Just make a bigger partition :P

#88010

Thanks Contrasutra! :D

I've finally found some scripts for determining orphaned RPMs:

Orphan RPM: http://byterapers.com/~jhakala/docs/rpmorphan.php

RPMtimesort: http://byterapers.com/~jhakala/docs/rpmtimesort.php

Havn't really tried these out yet... Looks tricky. :cry:

Btw, I'm glad I made the switch.... Gnome 2.4 looks and plays really nice.

Cheers!

#88117