I want to find out what version of a C library is installed in my system (Ubuntu 12.04). In particular, I'm interested in libnuma. What is the proper way to do it?
cd /usr/lib
ls -l libnuma*
-rw-r--r-- 1 root root 70312 Feb 8 2012 libnuma.a
lrwxrwxrwx 1 root root 12 Feb 8 2012 libnuma.so -> libnuma.so.1
-rw-r--r-- 1 root root 43976 Feb 8 2012 libnuma.so.1
Best Answer
I would use
dpkg -l | grep libnuma1
to get the version.As an example, I have ran
dpkg -l
on xterm and you can see that I'm running versoin 278-4 of xterm.