pass package name to versionchecklinux
add missing functions for linux and some cleanup