Open a Shell window and type into it
version ?
to see a usage template for the command.
As for what actually is the "latest" version of each library - I have no idea but you don't necessarily want that one anyway. Some "later" or "higher" versions are no better or even worse than earlier ones. You want to use the correct one, and again I have no idea what they may be.