How to find out if a library is installed on Linux?

How do I know if a particular library is installed on Linux or not?

For example, if I want to see if a library is available libuuidon my system, how can I do this?

+4
source share
1 answer

One command that usually works:

$ ldconfig -p | grep library

For example, to verify existence libuuid, you can:

$ ldconfig -p | grep libuuid

If this does not work, you can always find it manually in ordinary places. It is best to run this command as a user root:

# find /lib* /usr/lib* -name '*libuuid*'
+4
source

All Articles