How to get package versions.