loop through all packages to install