cleaned up common package installs

apt module can "update_cache" in the same run.
yum module can take package name parameter as URL.