LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   a few questions about libs (https://www.linuxquestions.org/questions/linux-software-2/a-few-questions-about-libs-265402/)

dr_zayus69 12-11-2004 09:38 PM

a few questions about libs
 
1. is there any special way to get rid of libs or can you just delete them? I uninstall a program but it sill has a dir in /user/local/lib

2, Is there any command that shows me details about libs like which programs are using which and if any are not currently being used?

btmiller 12-12-2004 12:28 AM

1. You can delete them if they're not being used. of course, if they were installed via a package manager such as RPM, you should use that package manager to remove them. Some software will have a make uninstall, if you retained the source tree.

2. Hmmm ... I don't think so, since a library could be used by a program that's not executing at the moment. One way to try and do this would be to run ldd on all your binaries and see if any libraries don't show up. I doubt it's worth the effort, though.

dr_zayus69 12-12-2004 05:40 PM

well i deleted aim so i did rpm -ev aimpackagename. But then i didn whereis - aim and it showed me a directory in /usr/local/lib/ called aim. I assume no program is using it now but how would i delete it using the rpm packager manager? rpm -ev dirpathname?


All times are GMT -5. The time now is 02:22 PM.