LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how to isolate redundent libraries? (https://www.linuxquestions.org/questions/slackware-14/how-to-isolate-redundent-libraries-356108/)

dejavu_01 08-23-2005 09:05 AM

how to isolate redundent libraries?
 
Hello.

It might be easy to install software packages into slackware despite the lack of dependency check , for that if the program complin of any missing library you just go fetch and install and bingo it just works. But if your system is used for sometime and softwares got installed and uninstalled, there might happened to be some left over libraries (which was not used by any programs). How can you be aware of their existance in order to get rid of them?

thanks

samac 08-23-2005 11:39 AM

Hi

I would like to know this as well, in debian you can run the command deborphan and this will do the job for you, the closest I have got is to do this:

Run pkgtool
Delete every library I can find (Do not reboot)
Run swaret --dep (this will re-install the dependancies that you need)

However this is UGLY and probably DANGEROUS.

Is there a kind soul that knows a less ugly method.

Samac

zhy2111314 08-23-2005 11:59 AM

know exactly what you need is really the perfect method but i cannot do it now :D

gnashley 08-24-2005 02:28 AM

use slackdeptrack to create a nice summary of your system dependencies. It wil generate a list of what each packages requires and provides.
http://linux.bydg.org/~yogin/slackdeptrack-0.1.3.tar.gz

I doubt you'll find much redundancy -when you upgrade, the old libraries get overwritten. If you remove programs from your installation, then you might have unused libs left over.


All times are GMT -5. The time now is 12:28 PM.