For libssl there you have some version number in the package name so it is better to look first for the names. Code: dpkg -l | grep libssl and then you can do for example Code: dpkg -s libssl0.9.8
dpkg -l | grep libssl
dpkg -s libssl0.9.8