LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to uninstall/remove libraries from Linux (https://www.linuxquestions.org/questions/programming-9/how-to-uninstall-remove-libraries-from-linux-426454/)

lucky6969b 03-19-2006 10:49 PM

how to uninstall/remove libraries from Linux
 
Hi,
I don't know how Linux does this.
My last revision of my app gave a hard link to libdb-4.3.so
while I deleted it on purpose, I want to link to libdb-4.4.so
BTW, how do you know which libraries and applications have been installed
in my system?
And Also,in KDevelop how do you set lib path? in xterm I can run the program after export LD_LIBRARY_PATH, on KDevelop, it said the lib was not found! So how to set lib path in KDevelop?

Any ideas
Thanks
Jack

jrvt 03-20-2006 09:47 AM

Quote:

Originally Posted by lucky6969b
Hi,
I don't know how Linux does this.
My last revision of my app gave a hard link to libdb-4.3.so
while I deleted it on purpose, I want to link to libdb-4.4.so
BTW, how do you know which libraries and applications have been installed
in my system?
And Also,in KDevelop how do you set lib path? in xterm I can run the program after export LD_LIBRARY_PATH, on KDevelop, it said the lib was not found! So how to set lib path in KDevelop?

Any ideas
Thanks
Jack

Dont know if this will help but here it goes. You can type on a new terminal the following:

rpm -qa and hit enter. This will list all the rpm packages that are installed on youre system for exaple if you search for a libdb package you can use it like this:

rpm -qa |grep libdb

This will search all youre packages and list only the ones containing libdb. if you want to know more you can enter the following to read te manual about more specific options for the rpm and the grep command:

man rpm or man grep if this helps then to ununstall a package you can use rpm -e [package]

Hope this helps. :)


All times are GMT -5. The time now is 07:10 PM.